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).
-
-
Field Summary
Fields Modifier and Type Field Description private static java.awt.image.BufferedImage
BI_WITHOUT_ALPHA
private GraphicsConfigurationWithTransparency
defaultDelegate
private static org.apache.commons.logging.Log
LOG
-
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
-
-
-
-
Field Detail
-
LOG
private static final org.apache.commons.logging.Log LOG
-
BI_WITHOUT_ALPHA
private static final java.awt.image.BufferedImage BI_WITHOUT_ALPHA
-
defaultDelegate
private final GraphicsConfigurationWithTransparency defaultDelegate
-
-
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
-
-