public class MarkerSvgNodeRenderer extends AbstractBranchSvgNodeRenderer
ISvgNodeRenderer implementation for the <marker> tag.| Modifier and Type | Field and Description |
|---|---|
static String |
MARKER_INDEX
Attribute defining the marker index on polygon, line or polyline.
|
VIEWBOX_VALUES_NUMBERattributesAndStyles| Constructor and Description |
|---|
MarkerSvgNodeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyViewBox(SvgDrawContext context)
Applies a transformation based on a viewBox for a given branch node.
|
ISvgNodeRenderer |
createDeepCopy()
Creates a deep copy of this renderer, including it's subtree of children
|
com.itextpdf.kernel.geom.Rectangle |
getObjectBoundingBox(SvgDrawContext context)
Calculates the current object bounding box.
|
protected boolean |
isHidden()
Check if this renderer should draw the element based on its attributes (e.g.
|
addChild, deepCopyChildren, doDraw, getChildrencanConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getCurrentFontSize, getCurrentViewBox, getParent, parseAbsoluteLength, parseHorizontalLength, parseVerticalLength, setAttribute, setAttributesAndStyles, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, getAttribute, getAttributeMapCopy, getParent, setAttribute, setAttributesAndStyles, setParentpublic static final String MARKER_INDEX
public ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderercreateDeepCopy in interface ISvgNodeRenderercreateDeepCopy in class AbstractBranchSvgNodeRendererpublic com.itextpdf.kernel.geom.Rectangle getObjectBoundingBox(SvgDrawContext context)
ISvgNodeRenderercontext - the current context, for instance it contains current viewport and available
font dataRectangle representing the current object's bounding box, or null
if bounding box is undefinedprotected boolean isHidden()
AbstractSvgNodeRendererisHidden in class AbstractSvgNodeRendererprotected void applyViewBox(SvgDrawContext context)
AbstractBranchSvgNodeRenderercontext - current svg draw contextCopyright © 1998–2025 Apryse Group NV. All rights reserved.