Class HTMLGraphicsEnvironment
- java.lang.Object
-
- java.awt.GraphicsEnvironment
-
- nl.tudelft.simulation.dsol.web.animation.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 Summary
Constructors Constructor Description HTMLGraphicsEnvironment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.Graphics2D
createGraphics(java.awt.image.BufferedImage img)
java.awt.Font[]
getAllFonts()
java.lang.String[]
getAvailableFontFamilyNames()
java.lang.String[]
getAvailableFontFamilyNames(java.util.Locale l)
java.awt.GraphicsDevice
getDefaultScreenDevice()
java.awt.GraphicsDevice[]
getScreenDevices()
-
-
-
Method Detail
-
getScreenDevices
public java.awt.GraphicsDevice[] getScreenDevices() throws java.awt.HeadlessException
- Specified by:
getScreenDevices
in classjava.awt.GraphicsEnvironment
- Throws:
java.awt.HeadlessException
-
getDefaultScreenDevice
public java.awt.GraphicsDevice getDefaultScreenDevice() throws java.awt.HeadlessException
- Specified by:
getDefaultScreenDevice
in classjava.awt.GraphicsEnvironment
- Throws:
java.awt.HeadlessException
-
createGraphics
public java.awt.Graphics2D createGraphics(java.awt.image.BufferedImage img)
- Specified by:
createGraphics
in classjava.awt.GraphicsEnvironment
-
getAllFonts
public java.awt.Font[] getAllFonts()
- Specified by:
getAllFonts
in classjava.awt.GraphicsEnvironment
-
getAvailableFontFamilyNames
public java.lang.String[] getAvailableFontFamilyNames()
- Specified by:
getAvailableFontFamilyNames
in classjava.awt.GraphicsEnvironment
-
getAvailableFontFamilyNames
public java.lang.String[] getAvailableFontFamilyNames(java.util.Locale l)
- Specified by:
getAvailableFontFamilyNames
in classjava.awt.GraphicsEnvironment
-
-