public abstract class AbstractBranchSvgNodeRenderer extends AbstractSvgNodeRenderer implements IBranchSvgNodeRenderer
| Modifier and Type | Field and Description |
|---|---|
protected static int |
VIEWBOX_VALUES_NUMBER
The number of viewBox values.
|
attributesAndStyles| Constructor and Description |
|---|
AbstractBranchSvgNodeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
addChild(ISvgNodeRenderer child)
Adds a renderer as the last element of the list of children.
|
abstract ISvgNodeRenderer |
createDeepCopy()
Creates a deep copy of this renderer, including it's subtree of children
|
protected void |
deepCopyChildren(AbstractBranchSvgNodeRenderer deepCopy)
Create a deep copy of every child renderer and add them to the passed
AbstractBranchSvgNodeRenderer |
protected void |
doDraw(SvgDrawContext context)
Method that will set properties to be inherited by this branch renderer's
children and will iterate over all children in order to draw them.
|
List<ISvgNodeRenderer> |
getChildren()
Gets all child renderers of this object.
|
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdraw, getAttribute, getAttributeMapCopy, getObjectBoundingBox, getParent, setAttribute, setAttributesAndStyles, setParentprotected static final int VIEWBOX_VALUES_NUMBER
protected void doDraw(SvgDrawContext context)
doDraw in class AbstractSvgNodeRenderercontext - the object that knows the place to draw this element and
maintains its statepublic final void addChild(ISvgNodeRenderer child)
IBranchSvgNodeRendereraddChild in interface IBranchSvgNodeRendererchild - any rendererpublic final List<ISvgNodeRenderer> getChildren()
IBranchSvgNodeRenderergetChildren in interface IBranchSvgNodeRendererprotected final void deepCopyChildren(AbstractBranchSvgNodeRenderer deepCopy)
AbstractBranchSvgNodeRendererdeepCopy - renderer to add copies of children topublic abstract ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderercreateDeepCopy in interface ISvgNodeRendererCopyright © 1998–2022 iText Group NV. All rights reserved.