|
xmlgraphics-commons 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.loader.impl.AbstractImage
org.apache.xmlgraphics.image.loader.impl.ImageGraphics2D
public class ImageGraphics2D
This class is an implementation of the Image interface exposing a Graphics2DImagePainter.
| Constructor Summary | |
|---|---|
ImageGraphics2D(ImageInfo info,
Graphics2DImagePainter painter)
Main constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImage |
|---|
getColorSpace, getICCProfile, getInfo, getSize, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ImageGraphics2D(ImageInfo info,
Graphics2DImagePainter painter)
info - the image info objectpainter - the image painter that will paint the Java2D image| Method Detail |
|---|
public ImageFlavor getFlavor()
public boolean isCacheable()
public Graphics2DImagePainter getGraphics2DImagePainter()
public void setGraphics2DImagePainter(Graphics2DImagePainter painter)
painter - the image painter
|
xmlgraphics-commons 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||