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-2019 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.
Copyright (c) 2003-2019 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
Modifier and Type Method Description Graphics2DcreateGraphics(BufferedImage img)Font[]getAllFonts()String[]getAvailableFontFamilyNames()String[]getAvailableFontFamilyNames(Locale l)GraphicsDevicegetDefaultScreenDevice()GraphicsDevice[]getScreenDevices()Methods inherited from class java.awt.GraphicsEnvironment
getCenterPoint, getLocalGraphicsEnvironment, getMaximumWindowBounds, isHeadless, isHeadlessInstance, preferLocaleFonts, preferProportionalFonts, registerFont
-
Constructor Details
-
HTMLGraphicsEnvironment
public HTMLGraphicsEnvironment()
-
-
Method Details
-
getScreenDevices
- Specified by:
getScreenDevicesin classGraphicsEnvironment- Throws:
HeadlessException
-
getDefaultScreenDevice
- Specified by:
getDefaultScreenDevicein classGraphicsEnvironment- Throws:
HeadlessException
-
createGraphics
- Specified by:
createGraphicsin classGraphicsEnvironment
-
getAllFonts
- Specified by:
getAllFontsin classGraphicsEnvironment
-
getAvailableFontFamilyNames
- Specified by:
getAvailableFontFamilyNamesin classGraphicsEnvironment
-
getAvailableFontFamilyNames
- Specified by:
getAvailableFontFamilyNamesin classGraphicsEnvironment
-