Package org.apache.fop.svg
Class GraphicsConfiguration
java.lang.Object
java.awt.GraphicsConfiguration
org.apache.fop.svg.GraphicsConfiguration
Adapter to allow subclassing java.awt.GraphicsConfiguration without
compilation errors.
The version for JDK 1.4 needs to add an override for the abstract
createCompatibleVolatileImage() method. It can't be overidden
for JDK 1.3 because there is no VolatileImage there.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateCompatibleVolatileImage
(int width, int height) createCompatibleVolatileImage
(int width, int height, int transparency) Methods inherited from class java.awt.GraphicsConfiguration
createCompatibleImage, createCompatibleImage, createCompatibleVolatileImage, createCompatibleVolatileImage, getBounds, getBufferCapabilities, getColorModel, getColorModel, getDefaultTransform, getDevice, getImageCapabilities, getNormalizingTransform, isTranslucencyCapable
-
Constructor Details
-
GraphicsConfiguration
public GraphicsConfiguration()
-
-
Method Details
-
createCompatibleVolatileImage
- Overrides:
createCompatibleVolatileImage
in classGraphicsConfiguration
- Parameters:
width
- of imageheight
- of image- Returns:
- new volatile image
- Since:
- JDK 1.4
- See Also:
-
createCompatibleVolatileImage
- Overrides:
createCompatibleVolatileImage
in classGraphicsConfiguration
- Parameters:
width
- of imageheight
- of imagetransparency
- of image- Returns:
- new volatile image
- Since:
- JDK 1.5
- See Also:
-