|
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.ImageRendered
public class ImageRendered
This class is an implementation of the Image interface exposing a RenderedImage.
Constructor Summary | |
---|---|
ImageRendered(ImageInfo info,
RenderedImage red,
Color transparentColor)
Main constructor. |
Method Summary | |
---|---|
ColorSpace |
getColorSpace()
Returns the image's color space if the information is available. |
ImageFlavor |
getFlavor()
Returns the flavor of the image. |
ICC_Profile |
getICCProfile()
Returns the ICC color profile if one is associated with the image. |
RenderedImage |
getRenderedImage()
Returns the contained RenderedImage instance. |
Color |
getTransparentColor()
Returns the transparent color if available. |
boolean |
isCacheable()
Indicates whether the Image instance is cacheable in memory. |
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImage |
---|
getInfo, getSize, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ImageRendered(ImageInfo info, RenderedImage red, Color transparentColor)
info
- the image info objectred
- the RenderedImage instancetransparentColor
- the transparent color or nullMethod Detail |
---|
public ImageFlavor getFlavor()
public boolean isCacheable()
public RenderedImage getRenderedImage()
public ColorSpace getColorSpace()
getColorSpace
in interface Image
getColorSpace
in class AbstractImage
public ICC_Profile getICCProfile()
getICCProfile
in interface Image
getICCProfile
in class AbstractImage
public Color getTransparentColor()
|
xmlgraphics-commons 1.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |