Class HTMLGraphicsEnvironment
- java.lang.Object
-
- java.awt.GraphicsEnvironment
-
- nl.tudelft.simulation.dsol.web.animation.HTMLGraphicsEnvironment
-
public class HTMLGraphicsEnvironment extends 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 Summary
Constructors Constructor Description HTMLGraphicsEnvironment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Graphics2D
createGraphics(BufferedImage img)
Font[]
getAllFonts()
String[]
getAvailableFontFamilyNames()
String[]
getAvailableFontFamilyNames(Locale l)
GraphicsDevice
getDefaultScreenDevice()
GraphicsDevice[]
getScreenDevices()
-
Methods inherited from class java.awt.GraphicsEnvironment
getCenterPoint, getLocalGraphicsEnvironment, getMaximumWindowBounds, isHeadless, isHeadlessInstance, preferLocaleFonts, preferProportionalFonts, registerFont
-
-
-
-
Method Detail
-
getScreenDevices
public GraphicsDevice[] getScreenDevices() throws HeadlessException
- Specified by:
getScreenDevices
in classGraphicsEnvironment
- Throws:
HeadlessException
-
getDefaultScreenDevice
public GraphicsDevice getDefaultScreenDevice() throws HeadlessException
- Specified by:
getDefaultScreenDevice
in classGraphicsEnvironment
- Throws:
HeadlessException
-
createGraphics
public Graphics2D createGraphics(BufferedImage img)
- Specified by:
createGraphics
in classGraphicsEnvironment
-
getAllFonts
public Font[] getAllFonts()
- Specified by:
getAllFonts
in classGraphicsEnvironment
-
getAvailableFontFamilyNames
public String[] getAvailableFontFamilyNames()
- Specified by:
getAvailableFontFamilyNames
in classGraphicsEnvironment
-
getAvailableFontFamilyNames
public String[] getAvailableFontFamilyNames(Locale l)
- Specified by:
getAvailableFontFamilyNames
in classGraphicsEnvironment
-
-