Class HtmlGraphicsEnvironment
java.lang.Object
java.awt.GraphicsEnvironment
nl.tudelft.simulation.dsol.web.animation.HtmlGraphicsEnvironment
HTMLGraphicsEnvironment.java.
Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) HtmlGraphics2dthe canvas to draw on.(package private) HtmlGraphicsConfigurationthe (dummy) configuration to use.(package private) HtmlDevicethe (dummy) device to use in the graphics environment. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.GraphicsEnvironment
getCenterPoint, getLocalGraphicsEnvironment, getMaximumWindowBounds, isHeadless, isHeadlessInstance, preferLocaleFonts, preferProportionalFonts, registerFont
-
Field Details
-
htmlDevice
HtmlDevice htmlDevicethe (dummy) device to use in the graphics environment. -
graphics2D
HtmlGraphics2d graphics2Dthe canvas to draw on. -
graphicsConfiguration
HtmlGraphicsConfiguration graphicsConfigurationthe (dummy) configuration to use.
-
-
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
-