Package com.orsonpdf
Class PDFGraphicsDevice
- java.lang.Object
-
- java.awt.GraphicsDevice
-
- com.orsonpdf.PDFGraphicsDevice
-
public class PDFGraphicsDevice extends java.awt.GraphicsDeviceA graphics device for use in thePDFGraphicsConfigurationclass.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.awt.GraphicsConfigurationdefaultConfigprivate java.lang.Stringid
-
Constructor Summary
Constructors Constructor Description PDFGraphicsDevice(java.lang.String id, java.awt.GraphicsConfiguration defaultConfig)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.GraphicsConfiguration[]getConfigurations()Returns all configurations for this device.java.awt.GraphicsConfigurationgetDefaultConfiguration()Returns the default configuration for this device.java.lang.StringgetIDstring()Returns the id string.intgetType()Returns the device type.
-
-
-
Method Detail
-
getType
public int getType()
Returns the device type.- Specified by:
getTypein classjava.awt.GraphicsDevice- Returns:
- The device type.
-
getIDstring
public java.lang.String getIDstring()
Returns the id string.- Specified by:
getIDstringin classjava.awt.GraphicsDevice- Returns:
- The id string.
-
getConfigurations
public java.awt.GraphicsConfiguration[] getConfigurations()
Returns all configurations for this device.- Specified by:
getConfigurationsin classjava.awt.GraphicsDevice- Returns:
- All configurations for this device.
-
getDefaultConfiguration
public java.awt.GraphicsConfiguration getDefaultConfiguration()
Returns the default configuration for this device.- Specified by:
getDefaultConfigurationin classjava.awt.GraphicsDevice- Returns:
- The default configuration for this device.
-
-