public class EllipseSvgNodeRenderer extends AbstractSvgNodeRenderer
ISvgNodeRenderer
implementation for the 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.
|
protected Rectangle |
getObjectBoundingBox(SvgDrawContext context)
Evaluate the current object bounding box
|
protected boolean |
setParameters()
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, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParent
protected void doDraw(SvgDrawContext context)
AbstractSvgNodeRenderer
doDraw
in class AbstractSvgNodeRenderer
context
- the object that knows the place to draw this element and maintains its state
protected Rectangle getObjectBoundingBox(SvgDrawContext context)
AbstractSvgNodeRenderer
getObjectBoundingBox
in class AbstractSvgNodeRenderer
Rectangle
representing the current object's bounding box
protected boolean setParameters()
public ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderer
Copyright © 1998–2020 iText Group NV. All rights reserved.