public class ImageRendered extends AbstractImage
构造器和说明 |
---|
ImageRendered(ImageInfo info,
RenderedImage red,
Color transparentColor)
Main constructor.
|
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 Image
getColorSpace
在类中 AbstractImage
public ICC_Profile getICCProfile()
getICCProfile
在接口中 Image
getICCProfile
在类中 AbstractImage
public Color getTransparentColor()
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.