com.itextpdf.text.pdf.parser
public class ImageRenderInfo extends Object
Modifier and Type | Method and Description |
---|---|
protected static ImageRenderInfo |
createdForEmbeddedImage(Matrix ctm,
PdfImageObject imageObject)
Create an ImageRenderInfo object based on inline image data.
|
static ImageRenderInfo |
createForXObject(Matrix ctm,
PdfIndirectReference ref)
Create an ImageRenderInfo object based on an XObject (this is the most common way of including an image in PDF)
|
float |
getArea() |
PdfImageObject |
getImage()
Gets an object containing the image dictionary and bytes.
|
Matrix |
getImageCTM() |
PdfIndirectReference |
getRef() |
Vector |
getStartPoint() |
public static ImageRenderInfo createForXObject(Matrix ctm, PdfIndirectReference ref)
ctm
- the coordinate transformation matrix at the time the image is renderedref
- a reference to the image XObjectprotected static ImageRenderInfo createdForEmbeddedImage(Matrix ctm, PdfImageObject imageObject)
ctm
- the coordinate transformation matrix at the time the image is renderedimageObject
- the image object representing the inline imagepublic PdfImageObject getImage()
public Vector getStartPoint()
public Matrix getImageCTM()
public float getArea()
public PdfIndirectReference getRef()