Class HTMLGraphicsEnvironment


  • public class HTMLGraphicsEnvironment
    extends java.awt.GraphicsEnvironment
    HTMLGraphicsEnvironment.java.

    Copyright (c) 2003-2020 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl. The source code and binary code of this software is proprietary information of Delft University of Technology.
    Author:
    Alexander Verbraeck
    • Constructor Detail

      • HTMLGraphicsEnvironment

        public HTMLGraphicsEnvironment()
    • Method Detail

      • getScreenDevices

        public java.awt.GraphicsDevice[] getScreenDevices()
                                                   throws java.awt.HeadlessException
        Specified by:
        getScreenDevices in class java.awt.GraphicsEnvironment
        Throws:
        java.awt.HeadlessException
      • getDefaultScreenDevice

        public java.awt.GraphicsDevice getDefaultScreenDevice()
                                                       throws java.awt.HeadlessException
        Specified by:
        getDefaultScreenDevice in class java.awt.GraphicsEnvironment
        Throws:
        java.awt.HeadlessException
      • createGraphics

        public java.awt.Graphics2D createGraphics​(java.awt.image.BufferedImage img)
        Specified by:
        createGraphics in class java.awt.GraphicsEnvironment
      • getAllFonts

        public java.awt.Font[] getAllFonts()
        Specified by:
        getAllFonts in class java.awt.GraphicsEnvironment
      • getAvailableFontFamilyNames

        public java.lang.String[] getAvailableFontFamilyNames()
        Specified by:
        getAvailableFontFamilyNames in class java.awt.GraphicsEnvironment
      • getAvailableFontFamilyNames

        public java.lang.String[] getAvailableFontFamilyNames​(java.util.Locale l)
        Specified by:
        getAvailableFontFamilyNames in class java.awt.GraphicsEnvironment