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 renderedstream - image stream objectcolorSpaceDictionary - the color space dictionary from resources which are associated with the imageisInline - defines if the encountered image was inlinepublic 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–2017 iText Group NV. All rights reserved.