Uses of Class
com.itextpdf.kernel.pdf.xobject.PdfXObject
Packages that use PdfXObject
Package
Description
-
Uses of PdfXObject in com.itextpdf.kernel.font
Methods in com.itextpdf.kernel.font that return PdfXObjectModifier and TypeMethodDescriptionType3Glyph.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 PdfXObjectModifier and TypeMethodDescriptionPdfCanvas.addImageAt
(ImageData image, float x, float y, boolean asInline) CreatesPdfImageXObject
from image and adds it to the specified position.PdfCanvas.addImageFittedIntoRectangle
(ImageData image, Rectangle rect, boolean asInline) CreatesPdfImageXObject
from image and fitted into specific rectangle on canvas.PdfCanvas.addImageWithTransformationMatrix
(ImageData image, float a, float b, float c, float d, float e, float f) CreatesPdfImageXObject
from image and adds it to canvas.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 PdfXObjectModifier and TypeMethodDescriptionprivate PdfCanvas
PdfCanvas.addImageWithTransformationMatrix
(PdfXObject xObject, float a, float b, float c, float d, float e, float f) AddsPdfXObject
to canvas.PdfCanvas.addXObject
(PdfXObject xObject) AddsPdfXObject
on canvas.PdfCanvas.addXObjectAt
(PdfXObject xObject, float x, float y) AddsPdfXObject
to the specified position.PdfCanvas.addXObjectFittedIntoRectangle
(PdfXObject xObject, Rectangle rect) AddsPdfXObject
fitted into specific rectangle on canvas.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 PdfXObjectModifier and TypeMethodDescriptionWmfImageHelper.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.xobjectModifier and TypeClassDescriptionclass
A wrapper for Form XObject.class
A wrapper for Image XObject.Methods in com.itextpdf.kernel.pdf.xobject that return PdfXObjectMethods in com.itextpdf.kernel.pdf.xobject with parameters of type PdfXObjectModifier and TypeMethodDescriptionstatic 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 PdfXObjectMethods in com.itextpdf.layout.element that return PdfXObjectModifier and TypeMethodDescriptionImage.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 PdfXObjectModifier and TypeFieldDescriptionprivate PdfXObject
BackgroundImage.Builder.image
protected PdfXObject
BackgroundImage.image
Methods in com.itextpdf.layout.properties with parameters of type PdfXObjectConstructors in com.itextpdf.layout.properties with parameters of type PdfXObjectModifierConstructorDescriptionprivate
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 PdfXObjectModifier and TypeMethodDescriptionprivate 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 PdfXObjectModifier and TypeFieldDescriptionprivate Map
<String, PdfXObject> SimpleImageCache.cache
The cache mapping a source path to an Image XObject.Methods in com.itextpdf.styledxmlparser.resolver.resource that return PdfXObjectModifier and TypeMethodDescriptionprotected PdfXObject
ResourceResolver.createImageByUrl
(URL url) Create a iText XObject based on the image stored at the passed location.(package private) PdfXObject
Gets an image from the cache.ResourceResolver.retrieveImage
(String src) Retrieve image as eitherPdfImageXObject
, orPdfFormXObject
.protected PdfXObject
ResourceResolver.tryResolveBase64ImageSource
(String src) protected PdfXObject
ResourceResolver.tryResolveUrlImageSource
(String uri) Methods in com.itextpdf.styledxmlparser.resolver.resource with parameters of type PdfXObjectModifier and TypeMethodDescription(package private) void
SimpleImageCache.putImage
(String src, PdfXObject imageXObject) Adds an image to the cache. -
Uses of PdfXObject in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl with parameters of type PdfXObjectModifier and TypeMethodDescription(package private) static void
AbstractBranchSvgNodeRenderer.addXObject
(PdfCanvas canvas, PdfXObject xObject, float x, float y) -
Uses of PdfXObject in com.itextpdf.svg.xobject
Subclasses of PdfXObject in com.itextpdf.svg.xobjectModifier and TypeClassDescriptionclass
A wrapper for Form XObject for SVG images.