public class SVGGraphicsConfiguration extends java.awt.GraphicsConfiguration
SVGGraphics2D
class.Constructor and Description |
---|
SVGGraphicsConfiguration(int width,
int height)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
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 SVGGraphicsConfiguration(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