public class PDFGraphicsConfiguration
extends java.awt.GraphicsConfiguration
PDFGraphics2D
class.Constructor and Description |
---|
PDFGraphicsConfiguration(int width,
int height)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.awt.image.VolatileImage |
createCompatibleVolatileImage(int width,
int height,
java.awt.ImageCapabilities caps,
int transparency) |
java.awt.Rectangle |
getBounds()
Returns the bounds for this configuration.
|
java.awt.image.ColorModel |
getColorModel()
Returns the color model for this configuration.
|
java.awt.image.ColorModel |
getColorModel(int transparency)
Returns the color model for the specified transparency type, or
null . |
java.awt.geom.AffineTransform |
getDefaultTransform()
Returns the default transform.
|
java.awt.GraphicsDevice |
getDevice()
Returns the graphics device that this configuration is associated with.
|
java.awt.geom.AffineTransform |
getNormalizingTransform()
Returns the normalizing transform.
|
public PDFGraphicsConfiguration(int width, int height)
width
- the width of the bounds.height
- the height of the bounds.public java.awt.GraphicsDevice getDevice()
getDevice
in class java.awt.GraphicsConfiguration
null
).public java.awt.image.ColorModel getColorModel()
getColorModel
in class java.awt.GraphicsConfiguration
public java.awt.image.ColorModel getColorModel(int transparency)
null
.getColorModel
in class java.awt.GraphicsConfiguration
transparency
- the transparency type.null
).public java.awt.geom.AffineTransform getDefaultTransform()
getDefaultTransform
in class java.awt.GraphicsConfiguration
public java.awt.geom.AffineTransform getNormalizingTransform()
getNormalizingTransform
in class java.awt.GraphicsConfiguration
public java.awt.Rectangle getBounds()
getBounds
in class java.awt.GraphicsConfiguration
public java.awt.image.VolatileImage createCompatibleVolatileImage(int width, int height, java.awt.ImageCapabilities caps, int transparency) throws java.awt.AWTException
createCompatibleVolatileImage
in class java.awt.GraphicsConfiguration
java.awt.AWTException