Package org.apache.xmlgraphics.java2d
Class GraphicsConfigurationWithoutTransparency
- java.lang.Object
-
- java.awt.GraphicsConfiguration
-
- org.apache.xmlgraphics.java2d.AbstractGraphicsConfiguration
-
- org.apache.xmlgraphics.java2d.GraphicsConfigurationWithoutTransparency
-
public class GraphicsConfigurationWithoutTransparency extends AbstractGraphicsConfiguration
An implementation ofGraphicsConfigurationthat does not support transparencies (alpha channels).
-
-
Constructor Summary
Constructors Constructor Description GraphicsConfigurationWithoutTransparency()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.awt.image.BufferedImagecreateCompatibleImage(int width, int height)java.awt.image.BufferedImagecreateCompatibleImage(int width, int height, int transparency)java.awt.RectanglegetBounds()java.awt.image.ColorModelgetColorModel()java.awt.image.ColorModelgetColorModel(int transparency)java.awt.geom.AffineTransformgetDefaultTransform()java.awt.GraphicsDevicegetDevice()java.awt.geom.AffineTransformgetNormalizingTransform()-
Methods inherited from class org.apache.xmlgraphics.java2d.AbstractGraphicsConfiguration
createCompatibleVolatileImage, createCompatibleVolatileImage
-
-
-
-
Method Detail
-
getDevice
public java.awt.GraphicsDevice getDevice()
- Specified by:
getDevicein classjava.awt.GraphicsConfiguration
-
createCompatibleImage
public java.awt.image.BufferedImage createCompatibleImage(int width, int height)- Overrides:
createCompatibleImagein classjava.awt.GraphicsConfiguration
-
createCompatibleImage
public java.awt.image.BufferedImage createCompatibleImage(int width, int height, int transparency)- Overrides:
createCompatibleImagein classjava.awt.GraphicsConfiguration
-
getColorModel
public java.awt.image.ColorModel getColorModel()
- Specified by:
getColorModelin classjava.awt.GraphicsConfiguration
-
getColorModel
public java.awt.image.ColorModel getColorModel(int transparency)
- Specified by:
getColorModelin classjava.awt.GraphicsConfiguration
-
getDefaultTransform
public java.awt.geom.AffineTransform getDefaultTransform()
- Specified by:
getDefaultTransformin classjava.awt.GraphicsConfiguration
-
getNormalizingTransform
public java.awt.geom.AffineTransform getNormalizingTransform()
- Specified by:
getNormalizingTransformin classjava.awt.GraphicsConfiguration
-
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
getBoundsin classjava.awt.GraphicsConfiguration
-
-