Image
public class ImageGraphics2D extends AbstractImage
Constructor | Description |
---|---|
ImageGraphics2D(ImageInfo info,
Graphics2DImagePainter painter) |
Main constructor.
|
Modifier and Type | Method | Description |
---|---|---|
ImageFlavor |
getFlavor() |
Returns the flavor of the image.
|
Graphics2DImagePainter |
getGraphics2DImagePainter() |
Returns the contained Graphics2DImagePainter instance.
|
boolean |
isCacheable() |
Indicates whether the Image instance is cacheable in memory.
|
void |
setGraphics2DImagePainter(Graphics2DImagePainter painter) |
Sets the Graphics2DImagePainter instance.
|
getColorSpace, getICCProfile, getInfo, getSize, toString
public ImageGraphics2D(ImageInfo info, Graphics2DImagePainter painter)
info
- the image info objectpainter
- the image painter that will paint the Java2D imagepublic ImageFlavor getFlavor()
public boolean isCacheable()
public Graphics2DImagePainter getGraphics2DImagePainter()
public void setGraphics2DImagePainter(Graphics2DImagePainter painter)
painter
- the image painterCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.