Class HTMLGraphicsEnvironment
- java.lang.Object
-
- java.awt.GraphicsEnvironment
-
- nl.tudelft.simulation.dsol.web.animation.HTMLGraphicsEnvironment
-
public class HTMLGraphicsEnvironment extends java.awt.GraphicsEnvironmentHTMLGraphicsEnvironment.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 java.awt.Graphics2DcreateGraphics(java.awt.image.BufferedImage img)java.awt.Font[]getAllFonts()java.lang.String[]getAvailableFontFamilyNames()java.lang.String[]getAvailableFontFamilyNames(java.util.Locale l)java.awt.GraphicsDevicegetDefaultScreenDevice()java.awt.GraphicsDevice[]getScreenDevices()
-
-
-
Method Detail
-
getScreenDevices
public java.awt.GraphicsDevice[] getScreenDevices() throws java.awt.HeadlessException- Specified by:
getScreenDevicesin classjava.awt.GraphicsEnvironment- Throws:
java.awt.HeadlessException
-
getDefaultScreenDevice
public java.awt.GraphicsDevice getDefaultScreenDevice() throws java.awt.HeadlessException- Specified by:
getDefaultScreenDevicein classjava.awt.GraphicsEnvironment- Throws:
java.awt.HeadlessException
-
createGraphics
public java.awt.Graphics2D createGraphics(java.awt.image.BufferedImage img)
- Specified by:
createGraphicsin classjava.awt.GraphicsEnvironment
-
getAllFonts
public java.awt.Font[] getAllFonts()
- Specified by:
getAllFontsin classjava.awt.GraphicsEnvironment
-
getAvailableFontFamilyNames
public java.lang.String[] getAvailableFontFamilyNames()
- Specified by:
getAvailableFontFamilyNamesin classjava.awt.GraphicsEnvironment
-
getAvailableFontFamilyNames
public java.lang.String[] getAvailableFontFamilyNames(java.util.Locale l)
- Specified by:
getAvailableFontFamilyNamesin classjava.awt.GraphicsEnvironment
-
-