Uses of Class
com.itextpdf.kernel.pdf.xobject.PdfXObject
-
-
Uses of PdfXObject in com.itextpdf.kernel.font
Methods in com.itextpdf.kernel.font that return PdfXObject Modifier and Type Method Description PdfXObject
Type3Glyph. addImageWithTransformationMatrix(ImageData image, float a, float b, float c, float d, float e, float f, boolean inlineImage)
Creates Image XObject from image and adds it to canvas. -
Uses of PdfXObject in com.itextpdf.kernel.pdf.canvas
Methods in com.itextpdf.kernel.pdf.canvas that return PdfXObject Modifier and Type Method Description PdfXObject
PdfCanvas. addImageAt(ImageData image, float x, float y, boolean asInline)
CreatesPdfImageXObject
from image and adds it to the specified position.PdfXObject
PdfCanvas. addImageFittedIntoRectangle(ImageData image, Rectangle rect, boolean asInline)
CreatesPdfImageXObject
from image and fitted into specific rectangle on canvas.PdfXObject
PdfCanvas. addImageWithTransformationMatrix(ImageData image, float a, float b, float c, float d, float e, float f)
CreatesPdfImageXObject
from image and adds it to canvas.PdfXObject
PdfCanvas. addImageWithTransformationMatrix(ImageData image, float a, float b, float c, float d, float e, float f, boolean asInline)
CreatesPdfImageXObject
from image and adds it to canvas.Methods in com.itextpdf.kernel.pdf.canvas with parameters of type PdfXObject Modifier and Type Method Description private PdfCanvas
PdfCanvas. addImageWithTransformationMatrix(PdfXObject xObject, float a, float b, float c, float d, float e, float f)
AddsPdfXObject
to canvas.PdfCanvas
PdfCanvas. addXObject(PdfXObject xObject)
AddsPdfXObject
on canvas.PdfCanvas
PdfCanvas. addXObjectAt(PdfXObject xObject, float x, float y)
AddsPdfXObject
to the specified position.PdfCanvas
PdfCanvas. addXObjectFittedIntoRectangle(PdfXObject xObject, Rectangle rect)
AddsPdfXObject
fitted into specific rectangle on canvas.PdfCanvas
PdfCanvas. addXObjectWithTransformationMatrix(PdfXObject xObject, float a, float b, float c, float d, float e, float f)
AddsPdfXObject
to canvas. -
Uses of PdfXObject in com.itextpdf.kernel.pdf.canvas.wmf
Methods in com.itextpdf.kernel.pdf.canvas.wmf that return PdfXObject Modifier and Type Method Description PdfXObject
WmfImageHelper. createFormXObject(PdfDocument document)
Create a PdfXObject based on the WMF image. -
Uses of PdfXObject in com.itextpdf.kernel.pdf.xobject
Subclasses of PdfXObject in com.itextpdf.kernel.pdf.xobject Modifier and Type Class Description class
PdfFormXObject
A wrapper for Form XObject.class
PdfImageXObject
A wrapper for Image XObject.Methods in com.itextpdf.kernel.pdf.xobject that return PdfXObject Modifier and Type Method Description static PdfXObject
PdfXObject. makeXObject(PdfStream stream)
Methods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfXObject Modifier and Type Method Description static Rectangle
PdfXObject. calculateProportionallyFitRectangleWithHeight(PdfXObject xObject, float x, float y, float height)
Calculates a rectangle with the specified coordinates and height, and the width is calculated in such a way that the original proportions of the xObject do not change.static Rectangle
PdfXObject. calculateProportionallyFitRectangleWithWidth(PdfXObject xObject, float x, float y, float width)
Calculates a rectangle with the specified coordinates and width, and the height is calculated in such a way that the original proportions of the xObject do not change. -
Uses of PdfXObject in com.itextpdf.layout.element
Fields in com.itextpdf.layout.element declared as PdfXObject Modifier and Type Field Description protected PdfXObject
Image. xObject
Methods in com.itextpdf.layout.element that return PdfXObject Modifier and Type Method Description PdfXObject
Image. getXObject()
Gets the XObject contained in this image object -
Uses of PdfXObject in com.itextpdf.layout.properties
Fields in com.itextpdf.layout.properties declared as PdfXObject Modifier and Type Field Description private PdfXObject
BackgroundImage.Builder. image
protected PdfXObject
BackgroundImage. image
Methods in com.itextpdf.layout.properties with parameters of type PdfXObject Modifier and Type Method Description BackgroundImage.Builder
BackgroundImage.Builder. setImage(PdfXObject image)
Sets image.Constructors in com.itextpdf.layout.properties with parameters of type PdfXObject Constructor Description BackgroundImage(PdfXObject image, BackgroundRepeat repeat, BackgroundPosition position, BackgroundSize backgroundSize, AbstractLinearGradientBuilder linearGradientBuilder, BlendMode blendMode, BackgroundBox clip, BackgroundBox origin)
Creates a newBackgroundImage
instance. -
Uses of PdfXObject in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer with parameters of type PdfXObject Modifier and Type Method Description private void
ImageRenderer. calculateImageDimensions(Rectangle layoutBox, AffineTransform t, PdfXObject xObject)
private static void
AbstractRenderer. drawPdfXObject(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, Rectangle originBackgroundArea)
private static void
AbstractRenderer. drawPdfXObjectHorizontally(Rectangle imageRectangle, BackgroundImage backgroundImage, DrawContext drawContext, PdfXObject backgroundXObject, Rectangle backgroundArea, boolean firstDraw, float xWhitespace)
-
Uses of PdfXObject in com.itextpdf.styledxmlparser.resolver.resource
Fields in com.itextpdf.styledxmlparser.resolver.resource with type parameters of type PdfXObject Modifier and Type Field Description private java.util.Map<java.lang.String,PdfXObject>
SimpleImageCache. cache
The cache mapping a source path to an Image XObject.Methods in com.itextpdf.styledxmlparser.resolver.resource that return PdfXObject Modifier and Type Method Description protected PdfXObject
ResourceResolver. createImageByUrl(java.net.URL url)
Create a iText XObject based on the image stored at the passed location.(package private) PdfXObject
SimpleImageCache. getImage(java.lang.String src)
Gets an image from the cache.PdfXObject
ResourceResolver. retrieveImage(java.lang.String src)
Retrieve image as eitherPdfImageXObject
, orPdfFormXObject
.protected PdfXObject
ResourceResolver. tryResolveBase64ImageSource(java.lang.String src)
CreatesPdfXObject
based on passed base64 encoded string.protected PdfXObject
ResourceResolver. tryResolveUrlImageSource(java.lang.String uri)
CreatesPdfXObject
based on the string which defines the path to local image.Methods in com.itextpdf.styledxmlparser.resolver.resource with parameters of type PdfXObject Modifier and Type Method Description (package private) void
SimpleImageCache. putImage(java.lang.String src, PdfXObject imageXObject)
Adds an image to the cache. -
Uses of PdfXObject in com.itextpdf.svg.xobject
Subclasses of PdfXObject in com.itextpdf.svg.xobject Modifier and Type Class Description class
SvgImageXObject
A wrapper for Form XObject for SVG images.
-