public class EllipseSvgNodeRenderer extends AbstractSvgNodeRenderer
ISvgNodeRenderer implementation for the <circle> tag.attributesAndStyles| Constructor and Description |
|---|
EllipseSvgNodeRenderer() |
| Modifier and Type | Method and Description |
|---|---|
ISvgNodeRenderer |
createDeepCopy()
Creates a deep copy of this renderer, including it's subtree of children
|
protected void |
doDraw(SvgDrawContext context)
Draws this element to a canvas-like object maintained in the context.
|
com.itextpdf.kernel.geom.Rectangle |
getObjectBoundingBox(SvgDrawContext context)
Calculates the current object bounding box.
|
protected void |
initCenter(SvgDrawContext context)
Initialize ellipse cx and cy.
|
protected boolean |
setParameters()
Deprecated.
|
protected boolean |
setParameters(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 respectively
|
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getCurrentFontSize, getCurrentViewBox, getParent, isHidden, parseAbsoluteLength, parseHorizontalLength, parseVerticalLength, setAttribute, setAttributesAndStyles, setParentprotected void doDraw(SvgDrawContext context)
AbstractSvgNodeRendererdoDraw in class AbstractSvgNodeRenderercontext - the object that knows the place to draw this element and maintains its statepublic com.itextpdf.kernel.geom.Rectangle getObjectBoundingBox(SvgDrawContext context)
ISvgNodeRenderercontext - the current context, for instance it contains current viewport and available
font dataRectangle representing the current object's bounding box, or null
if bounding box is undefined@Deprecated protected boolean setParameters()
This method is deprecated in favour of setParameters(SvgDrawContext), because
x/y/rx/ry can contain relative values which can't be resolved without SvgDrawContext.
protected boolean setParameters(SvgDrawContext context)
context - the SVG draw contextprotected void initCenter(SvgDrawContext context)
context - svg draw contextpublic ISvgNodeRenderer createDeepCopy()
ISvgNodeRendererCopyright © 1998–2025 Apryse Group NV. All rights reserved.