|
Gnostice PDFOne
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gnostice.pdfone.PdfPageElement
com.gnostice.pdfone.PdfPageImageElement
This class represents an image page element.
Field Summary |
Fields inherited from class com.gnostice.pdfone.PdfPageElement |
ELEMENT_TYPE_ALL, ELEMENT_TYPE_COMPOSITE, ELEMENT_TYPE_IMAGE, ELEMENT_TYPE_INLINE_IMAGE, ELEMENT_TYPE_PATH, ELEMENT_TYPE_TEXT |
Method Summary | |
int |
getAlternateColorSpaceType()
Returns alternate color space type of the image. |
int |
getBitsPerComponent()
Returns number of color channels in the image. |
int |
getColorSpaceType()
Returns color space type of the image. |
BufferedImage |
getImage()
Returns actual image represented by the page element. |
int |
getImageHeight()
Returns height of the image. |
int |
getImageWidth()
Returns width of the image. |
Color |
getMaskColor()
Returns color used as the color mask for the image. |
boolean |
isInlineImage()
Returns whether the page element is an inline image. |
boolean |
isMaskedImage()
Returns whether the image element is represented by a masked image. |
String |
toString()
|
Methods inherited from class com.gnostice.pdfone.PdfPageElement |
getBoundingRect, getElementType, getFillColor, getGraphicsState, getPageNum, getStrokeColor, getTransformationMatrix, getX, getY, isAtPoint, isAtRect |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public BufferedImage getImage()
public int getImageWidth()
public int getImageHeight()
public int getBitsPerComponent()
public boolean isMaskedImage()
public Color getMaskColor()
null
if image has no color
maskpublic boolean isInlineImage()
public int getColorSpaceType()
color
space type
public int getAlternateColorSpaceType()
color
space type
public String toString()
toString
in class PdfPageElement
|
Pro. Ed. v5.0.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |