java.lang.Object
java.awt.GraphicsDevice
org.jfree.svg.SVGGraphicsDevice
public class SVGGraphicsDevice extends GraphicsDevice
A graphics device for JFreeSVG.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.awt.GraphicsDevice
GraphicsDevice.WindowTranslucency -
Field Summary
Fields inherited from class java.awt.GraphicsDevice
TYPE_IMAGE_BUFFER, TYPE_PRINTER, TYPE_RASTER_SCREEN -
Constructor Summary
Constructors Constructor Description SVGGraphicsDevice(String id, GraphicsConfiguration defaultConfig)Creates a new instance. -
Method Summary
Modifier and Type Method Description GraphicsConfiguration[]getConfigurations()Returns all configurations for this device.GraphicsConfigurationgetDefaultConfiguration()Returns the default configuration for this device.StringgetIDstring()Returns the id string.intgetType()Returns the device type.Methods inherited from class java.awt.GraphicsDevice
getAvailableAcceleratedMemory, getBestConfiguration, getDisplayMode, getDisplayModes, getFullScreenWindow, isDisplayChangeSupported, isFullScreenSupported, isWindowTranslucencySupported, setDisplayMode, setFullScreenWindow
-
Constructor Details
-
SVGGraphicsDevice
Creates a new instance.- Parameters:
id- the id.defaultConfig- the default configuration.
-
-
Method Details
-
getType
Returns the device type.- Specified by:
getTypein classGraphicsDevice- Returns:
- The device type.
-
getIDstring
Returns the id string.- Specified by:
getIDstringin classGraphicsDevice- Returns:
- The id string.
-
getConfigurations
Returns all configurations for this device.- Specified by:
getConfigurationsin classGraphicsDevice- Returns:
- All configurations for this device.
-
getDefaultConfiguration
Returns the default configuration for this device.- Specified by:
getDefaultConfigurationin classGraphicsDevice- Returns:
- The default configuration for this device.
-