public class ImageRendered extends AbstractImage
Constructor and Description |
---|
ImageRendered(ImageInfo info,
java.awt.image.RenderedImage red,
java.awt.Color transparentColor)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getInfo, getSize, toString
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 nulliccProfile
- an ICC color profile or null if no profile is associatedpublic 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()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.