|
xmlgraphics-commons 1.3.1 | |||||||||
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,
java.awt.image.RenderedImage red,
java.awt.Color transparentColor)
Main constructor. |
Method Summary | |
---|---|
java.awt.color.ColorSpace |
getColorSpace()
Returns the image's color space if the information is available. |
ImageFlavor |
getFlavor()
Returns the flavor of the image. |
java.awt.color.ICC_Profile |
getICCProfile()
Returns the ICC color profile if one is associated with the image. |
java.awt.image.RenderedImage |
getRenderedImage()
Returns the contained RenderedImage instance. |
java.awt.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, java.awt.image.RenderedImage red, java.awt.Color transparentColor)
info
- the image info objectred
- the RenderedImage instancetransparentColor
- the transparent color or nullMethod Detail |
---|
public ImageFlavor getFlavor()
public boolean isCacheable()
public java.awt.image.RenderedImage getRenderedImage()
public java.awt.color.ColorSpace getColorSpace()
getColorSpace
in interface Image
getColorSpace
in class AbstractImage
public java.awt.color.ICC_Profile getICCProfile()
getICCProfile
in interface Image
getICCProfile
in class AbstractImage
public java.awt.Color getTransparentColor()
|
xmlgraphics-commons 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |