Class ImageConverterBitmap2G2D.Graphics2DImagePainterImpl
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.ImageConverterBitmap2G2D.Graphics2DImagePainterImpl
- All Implemented Interfaces:
Graphics2DImagePainter
- Enclosing class:
ImageConverterBitmap2G2D
static class ImageConverterBitmap2G2D.Graphics2DImagePainterImpl
extends Object
implements Graphics2DImagePainter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpaint(Graphics2D g2d, Rectangle2D area) Called to paint the image.
-
Field Details
-
rendImage
ImageRendered rendImage
-
-
Constructor Details
-
Graphics2DImagePainterImpl
-
-
Method Details
-
getImageSize
- Specified by:
getImageSizein interfaceGraphics2DImagePainter- Returns:
- the dimensions (intrinsic size) of the image to be painted in millipoints
-
paint
Description copied from interface:Graphics2DImagePainterCalled to paint the image. Implementations should scale so the image is painted fully inside the given area indicated by then Rectangle2D object.- Specified by:
paintin interfaceGraphics2DImagePainter- Parameters:
g2d- the Graphics2D instance to paint onarea- the target area for the image (in target device units)
-