public class ImageRenderInfo
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected static ImageRenderInfo |
createForEmbeddedImage(Matrix ctm,
InlineImageInfo inlineImageInfo,
PdfDictionary colorSpaceDictionary)
Create an ImageRenderInfo object based on inline image data.
|
static ImageRenderInfo |
createForXObject(Matrix ctm,
PdfIndirectReference ref,
PdfDictionary colorSpaceDictionary)
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, PdfDictionary colorSpaceDictionary)
ctm
- the coordinate transformation matrix at the time the image is renderedref
- a reference to the image XObjectprotected static ImageRenderInfo createForEmbeddedImage(Matrix ctm, InlineImageInfo inlineImageInfo, PdfDictionary colorSpaceDictionary)
ctm
- the coordinate transformation matrix at the time the image is renderedimageObject
- the image object representing the inline imagepublic PdfImageObject getImage() throws java.io.IOException
java.io.IOException
public Vector getStartPoint()
public Matrix getImageCTM()
public float getArea()
public PdfIndirectReference getRef()
Copyright © 2013. All Rights Reserved.