public class MarkerSvgNodeRenderer extends AbstractBranchSvgNodeRenderer
ISvgNodeRenderer
implementation for the VIEWBOX_VALUES_NUMBER
attributesAndStyles
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
|
Rectangle |
getObjectBoundingBox(SvgDrawContext context)
Calculates the current object bounding box.
|
addChild, deepCopyChildren, doDraw, getChildren
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
draw, getAttribute, getAttributeMapCopy, getParent, setAttribute, setAttributesAndStyles, setParent
public ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderer
createDeepCopy
in interface ISvgNodeRenderer
createDeepCopy
in class AbstractBranchSvgNodeRenderer
public Rectangle getObjectBoundingBox(SvgDrawContext context)
ISvgNodeRenderer
context
- the current context, for instance it contains current viewport and available font data
Rectangle
representing the current object's bounding box, or null if bounding box is undefined
protected void applyViewBox(SvgDrawContext context)
AbstractBranchSvgNodeRenderer
context
- current svg draw context
Copyright © 1998–2022 iText Group NV. All rights reserved.