|
xmlgraphics-commons 1.4 | |||||||||
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
public abstract class AbstractImage
Abstract base class for Image implementations.
Constructor Summary | |
---|---|
AbstractImage(ImageInfo info)
Main constructor |
Method Summary | |
---|---|
java.awt.color.ColorSpace |
getColorSpace()
Returns the image's color space if the information is available. |
java.awt.color.ICC_Profile |
getICCProfile()
Returns the ICC color profile if one is associated with the image. |
ImageInfo |
getInfo()
Returns an object with basic information (URI, MIME type, intrinsic size) about the image. |
ImageSize |
getSize()
Returns the image's intrinsic size. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.xmlgraphics.image.loader.Image |
---|
getFlavor, isCacheable |
Constructor Detail |
---|
public AbstractImage(ImageInfo info)
info
- the image info object associated with this imageMethod Detail |
---|
public ImageInfo getInfo()
getInfo
in interface Image
public ImageSize getSize()
getSize
in interface Image
public java.awt.color.ColorSpace getColorSpace()
getColorSpace
in interface Image
public java.awt.color.ICC_Profile getICCProfile()
getICCProfile
in interface Image
public java.lang.String toString()
toString
in class java.lang.Object
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |