public class ImageRenderInfo extends Object implements IEventData
Constructor and Description |
---|
ImageRenderInfo(Matrix ctm, PdfStream stream, PdfDictionary colorSpaceDictionary, boolean isInline)
Create an ImageRenderInfo
|
Modifier and Type | Method and Description |
---|---|
float |
getArea() |
PdfDictionary |
getColorSpaceDictionary() |
PdfImageXObject |
getImage()
Gets an image wrapped in ImageXObject.
|
Matrix |
getImageCtm() |
Vector |
getStartPoint() |
boolean |
isInline() |
public ImageRenderInfo(Matrix ctm, PdfStream stream, PdfDictionary colorSpaceDictionary, boolean isInline)
ctm
- the coordinate transformation matrix at the time the image is rendered
stream
- image stream object
colorSpaceDictionary
- the color space dictionary from resources which are associated with the image
isInline
- defines if the encountered image was inline
public PdfImageXObject getImage()
PdfImageXObject.getImageBytes(boolean)
, these image bytes represent native image, i.e you can write these bytes to disk and get just an usual image;PdfObjectWrapper.getPdfObject()
method;BufferedImage
with PdfImageXObject.getBufferedImage()
;public Vector getStartPoint()
public Matrix getImageCtm()
public float getArea()
public boolean isInline()
public PdfDictionary getColorSpaceDictionary()
Copyright © 1998–2018 iText Group NV. All rights reserved.