Package com.itextpdf.svg.renderers.impl
Class AbstractContainerSvgNodeRenderer
java.lang.Object
com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
com.itextpdf.svg.renderers.impl.AbstractContainerSvgNodeRenderer
- All Implemented Interfaces:
-
IBranchSvgNodeRenderer
,ISvgNodeRenderer
- Direct Known Subclasses:
-
SvgTagSvgNodeRenderer
,SymbolSvgNodeRenderer
-
Field Summary
Fields inherited from class com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
VIEWBOX_VALUES_NUMBER
Fields inherited from class com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
attributesAndStyles
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Method to see if the renderer can create a viewportprotected boolean
Method to see if a certain renderer can use fill.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.Methods inherited from class com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
addChild, createDeepCopy, deepCopyChildren, getChildren
Methods inherited from class com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.itextpdf.svg.renderers.ISvgNodeRenderer
draw, getAttribute, getAttributeMapCopy, getObjectBoundingBox, getParent, setAttribute, setAttributesAndStyles, setParent
-
Constructor Details
-
AbstractContainerSvgNodeRenderer
public AbstractContainerSvgNodeRenderer()
-
-
Method Details
-
canConstructViewPort
public boolean canConstructViewPort()Description copied from class:AbstractSvgNodeRenderer
Method to see if the renderer can create a viewport- Overrides:
-
canConstructViewPort
in classAbstractSvgNodeRenderer
- Returns:
- true if the renderer can construct a viewport
-
canElementFill
protected boolean canElementFill()Description copied from class:AbstractSvgNodeRenderer
Method to see if a certain renderer can use fill.- Overrides:
-
canElementFill
in classAbstractSvgNodeRenderer
- Returns:
- true if the renderer can use fill
-
doDraw
Description copied from class:AbstractBranchSvgNodeRenderer
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.- Overrides:
-
doDraw
in classAbstractBranchSvgNodeRenderer
- Parameters:
-
context
- the object that knows the place to draw this element and maintains its state
-