Class CircleSvgNodeRenderer
java.lang.Object
com.itextpdf.svg.renderers.impl.AbstractSvgNodeRenderer
com.itextpdf.svg.renderers.impl.EllipseSvgNodeRenderer
com.itextpdf.svg.renderers.impl.CircleSvgNodeRenderer
- All Implemented Interfaces:
ISvgNodeRenderer
ISvgNodeRenderer implementation for the <circle> tag.-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractSvgNodeRenderer
AbstractSvgNodeRenderer.FillProperties, AbstractSvgNodeRenderer.StrokeProperties -
Field Summary
Fields inherited from class EllipseSvgNodeRenderer
cx, cy, rx, ryFields inherited from class AbstractSvgNodeRenderer
attributesAndStyles, doFill, doStroke -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a deep copy of this renderer, including it's subtree of childrenprotected booleansetParameters(SvgDrawContext context) Fetches a map of String values by calling getAttribute(String s) method and maps it's values to arc parameter cx, cy , rx, ry respectivelyMethods inherited from class EllipseSvgNodeRenderer
doDraw, doStrokeOrFill, getObjectBoundingBox, initCenter, setParametersMethods inherited from class AbstractSvgNodeRenderer
applyFillAndStrokeProperties, applyNonScalingStrokeTransform, calculateViewPortTranslation, canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getCurrentFontSize, getCurrentViewBox, getParent, getParentClipPath, isHidden, parseAbsoluteLength, parseHorizontalLength, parseVerticalLength, postDraw, preDraw, retrieveAlignAndMeet, setAttribute, setAttributesAndStyles, setParent
-
Constructor Details
-
CircleSvgNodeRenderer
public CircleSvgNodeRenderer()
-
-
Method Details
-
setParameters
Description copied from class:EllipseSvgNodeRendererFetches a map of String values by calling getAttribute(String s) method and maps it's values to arc parameter cx, cy , rx, ry respectively- Overrides:
setParametersin classEllipseSvgNodeRenderer- Parameters:
context- the SVG draw context- Returns:
- boolean values to indicate whether all values exit or not
-
createDeepCopy
Description copied from interface:ISvgNodeRendererCreates a deep copy of this renderer, including it's subtree of children- Specified by:
createDeepCopyin interfaceISvgNodeRenderer- Overrides:
createDeepCopyin classEllipseSvgNodeRenderer- Returns:
- deep copy of this renderer
-