public class SvgImage extends Image
tagProperties, xObjectchildElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
SvgImage(SvgImageXObject xObject)
Creates an
SvgImage from the SvgImageXObject which represents Form XObject and contains
processor result with the SVG information and resource resolver for the SVG image. |
| Modifier and Type | Method and Description |
|---|---|
void |
generate(com.itextpdf.kernel.pdf.PdfDocument document)
Draws SVG image to a canvas-like object maintained in the
SvgDrawContext. |
protected IRenderer |
makeNewRenderer() |
getAccessibilityProperties, getImageHeight, getImageScaledHeight, getImageScaledWidth, getImageWidth, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getObjectFit, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getWidth, getXObject, scale, scaleAbsolute, scaleToFit, setAutoScale, setAutoScaleHeight, setAutoScaleWidth, setFixedPosition, setFixedPosition, setHeight, setHeight, setMarginBottom, setMarginLeft, setMarginRight, setMargins, setMarginTop, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setNeutralRole, setObjectFit, setPadding, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddings, setPaddingTop, setRotationAngle, setWidth, setWidthaddStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getDefaultProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateRendererSubTree, getRenderer, setNextRendererdeleteOwnProperty, getDefaultProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setPropertypublic SvgImage(SvgImageXObject xObject)
SvgImage from the SvgImageXObject which represents Form XObject and contains
processor result with the SVG information and resource resolver for the SVG image.xObject - an internal SvgImageXObject.public void generate(com.itextpdf.kernel.pdf.PdfDocument document)
SvgDrawContext.document - pdf that shall contain the SVG image.protected IRenderer makeNewRenderer()
makeNewRenderer in class ImageCopyright © 1998–2024 Apryse Group NV. All rights reserved.