public class ImageRenderInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
protected static ImageRenderInfo |
createForEmbeddedImage(GraphicsState gs,
InlineImageInfo inlineImageInfo,
PdfDictionary colorSpaceDictionary)
Create an ImageRenderInfo object based on inline image data.
|
static ImageRenderInfo |
createForXObject(GraphicsState gs,
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() |
BaseColor |
getCurrentFillColor() |
PdfImageObject |
getImage()
Gets an object containing the image dictionary and bytes.
|
Matrix |
getImageCTM() |
PdfIndirectReference |
getRef() |
Vector |
getStartPoint() |
public static ImageRenderInfo createForXObject(GraphicsState gs, 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(GraphicsState gs, 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 IOException
IOExceptionpublic Vector getStartPoint()
public Matrix getImageCTM()
public float getArea()
public PdfIndirectReference getRef()
public BaseColor getCurrentFillColor()
Copyright © 2016. All rights reserved.