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 ofGraphicsConfiguration
that 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.BufferedImage
createCompatibleImage(int width, int height)
java.awt.image.BufferedImage
createCompatibleImage(int width, int height, int transparency)
java.awt.Rectangle
getBounds()
java.awt.image.ColorModel
getColorModel()
java.awt.image.ColorModel
getColorModel(int transparency)
java.awt.geom.AffineTransform
getDefaultTransform()
java.awt.GraphicsDevice
getDevice()
java.awt.geom.AffineTransform
getNormalizingTransform()
-
Methods inherited from class org.apache.xmlgraphics.java2d.AbstractGraphicsConfiguration
createCompatibleVolatileImage, createCompatibleVolatileImage
-
-
-
-
Method Detail
-
getDevice
public java.awt.GraphicsDevice getDevice()
- Specified by:
getDevice
in classjava.awt.GraphicsConfiguration
-
createCompatibleImage
public java.awt.image.BufferedImage createCompatibleImage(int width, int height)
- Overrides:
createCompatibleImage
in classjava.awt.GraphicsConfiguration
-
createCompatibleImage
public java.awt.image.BufferedImage createCompatibleImage(int width, int height, int transparency)
- Overrides:
createCompatibleImage
in classjava.awt.GraphicsConfiguration
-
getColorModel
public java.awt.image.ColorModel getColorModel()
- Specified by:
getColorModel
in classjava.awt.GraphicsConfiguration
-
getColorModel
public java.awt.image.ColorModel getColorModel(int transparency)
- Specified by:
getColorModel
in classjava.awt.GraphicsConfiguration
-
getDefaultTransform
public java.awt.geom.AffineTransform getDefaultTransform()
- Specified by:
getDefaultTransform
in classjava.awt.GraphicsConfiguration
-
getNormalizingTransform
public java.awt.geom.AffineTransform getNormalizingTransform()
- Specified by:
getNormalizingTransform
in classjava.awt.GraphicsConfiguration
-
getBounds
public java.awt.Rectangle getBounds()
- Specified by:
getBounds
in classjava.awt.GraphicsConfiguration
-
-