|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.afp.AFPDataObjectInfo
org.apache.fop.afp.AFPImageObjectInfo
public class AFPImageObjectInfo
A list of parameters associated with an image
Constructor Summary | |
---|---|
AFPImageObjectInfo()
Default constructor |
Method Summary | |
---|---|
int |
getBitsPerPixel()
Returns the number of bits used per pixel |
int |
getCompression()
Returns the compression type |
boolean |
hasCompression()
Returns true if this image uses compression |
boolean |
isColor()
Returns true if this is a color image |
boolean |
isSubtractive()
Indicates whether additive or subtractive mode is set. |
void |
setBitsPerPixel(int bitsPerPixel)
Sets the number of bits per pixel |
void |
setColor(boolean color)
Sets if this image is color |
void |
setCompression(int compression)
Sets the compression used with this image |
void |
setSubtractive(boolean subtractive)
Set either additive or subtractive mode (used for ASFLAG). |
java.lang.String |
toString()
|
Methods inherited from class org.apache.fop.afp.AFPDataObjectInfo |
---|
getData, getDataHeight, getDataHeightRes, getDataWidth, getDataWidthRes, getMappingOption, getMimeType, getObjectAreaInfo, getObjectType, getResourceInfo, getUri, isCreatePageSegment, setCreatePageSegment, setData, setDataHeight, setDataHeightRes, setDataWidth, setDataWidthRes, setMappingOption, setMimeType, setObjectAreaInfo, setResourceInfo, setUri |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AFPImageObjectInfo()
Method Detail |
---|
public void setBitsPerPixel(int bitsPerPixel)
bitsPerPixel
- the number of bits per pixelpublic void setColor(boolean color)
color
- true if this is a color imagepublic int getBitsPerPixel()
public boolean isColor()
public boolean hasCompression()
public int getCompression()
public void setCompression(int compression)
compression
- the type of compression used with this imagepublic void setSubtractive(boolean subtractive)
subtractive
- true for subtractive mode, false for additive modepublic boolean isSubtractive()
public java.lang.String toString()
toString
in class AFPDataObjectInfo
|
fop 1.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |