Class Platform

  • All Implemented Interfaces:
    FontManager, GenericPlatform
    Direct Known Subclasses:
    Platform

    public class Platform
    extends Object
    implements GenericPlatform
    JavaScript 2D canvas version requires Ajax-based URL stream processing. Jmol "display" → HTML5 "canvas" Jmol "image" → HTML5 "canvas" (because we need width and height) Jmol "graphics" → HTML5 "context(2d)" (one for display, one off-screen for fonts) Jmol "font" → JmolFont Jmol "fontMetrics" → HTML5 "context(2d)" (Not fully implemented)
    Author:
    Bob Hanson