Image
ImageBuffered
public class ImageRendered extends AbstractImage
Constructor | Description |
---|---|
ImageRendered(ImageInfo info,
RenderedImage red,
Color transparentColor) |
Main constructor.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
getInfo, getSize, toString
public ImageRendered(ImageInfo info, RenderedImage red, Color transparentColor)
info
- the image info objectred
- the RenderedImage instancetransparentColor
- the transparent color or nullpublic 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()
Copyright © 2018 Apache Software Foundation. All rights reserved.