Package com.itextpdf.svg.renderers
Interface IBranchSvgNodeRenderer
- All Superinterfaces:
-
ISvgNodeRenderer
- All Known Subinterfaces:
-
INoDrawSvgNodeRenderer
,ISvgPaintServer
- All Known Implementing Classes:
-
AbstractBranchSvgNodeRenderer
,AbstractContainerSvgNodeRenderer
,AbstractGradientSvgNodeRenderer
,ClipPathSvgNodeRenderer
,DefsSvgNodeRenderer
,GroupSvgNodeRenderer
,LinearGradientSvgNodeRenderer
,MarkerSvgNodeRenderer
,PatternSvgNodeRenderer
,StopSvgNodeRenderer
,SvgTagSvgNodeRenderer
,SymbolSvgNodeRenderer
Interface that defines branches in the NodeRenderer structure. Differs from a leaf renderer in that a branch has children and as such methods that can add or retrieve those children.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(ISvgNodeRenderer child) Adds a renderer as the last element of the list of children.Gets all child renderers of this object.Methods inherited from interface com.itextpdf.svg.renderers.ISvgNodeRenderer
createDeepCopy, draw, getAttribute, getAttributeMapCopy, getObjectBoundingBox, getParent, setAttribute, setAttributesAndStyles, setParent
-
Method Details
-
addChild
Adds a renderer as the last element of the list of children.- Parameters:
-
child
- any renderer
-
getChildren
List<ISvgNodeRenderer> getChildren()Gets all child renderers of this object.- Returns:
- the list of child renderers (in the order that they were added)
-