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
Abstract class that will be the superclass for any element that instantiates new view port.
-
Field Summary
Fields inherited from class com.itextpdf.svg.renderers.impl.AbstractBranchSvgNodeRenderer
VIEWBOX_VALUES_NUMBERFields inherited from class com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
attributesAndStyles -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMethod to see if the renderer can create a viewportprotected booleanMethod to see if a certain renderer can use fill.protected voiddoDraw(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, getChildrenMethods inherited from class com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getCurrentFontSize, getCurrentViewBox, getParent, isHidden, parseAbsoluteLength, parseHorizontalLength, parseVerticalLength, setAttribute, setAttributesAndStyles, setParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:AbstractSvgNodeRendererMethod to see if the renderer can create a viewport- Overrides:
-
canConstructViewPortin classAbstractSvgNodeRenderer - Returns:
- true if the renderer can construct a viewport
-
canElementFill
protected boolean canElementFill()Description copied from class:AbstractSvgNodeRendererMethod to see if a certain renderer can use fill.- Overrides:
-
canElementFillin classAbstractSvgNodeRenderer - Returns:
- true if the renderer can use fill
-
doDraw
Description copied from class:AbstractBranchSvgNodeRendererMethod 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:
-
doDrawin classAbstractBranchSvgNodeRenderer - Parameters:
-
context- the object that knows the place to draw this element and maintains its state
-