public class RectangleSvgNodeRenderer extends AbstractSvgNodeRenderer
ISvgNodeRenderer implementation for the <rect> tag.attributesAndStyles| Constructor and Description |
|---|
RectangleSvgNodeRenderer()
Constructs a RectangleSvgNodeRenderer.
|
| 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 com.itextpdf.kernel.geom.Rectangle |
getObjectBoundingBox(SvgDrawContext context)
Evaluate the current object bounding box.
|
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParentpublic RectangleSvgNodeRenderer()
protected void doDraw(SvgDrawContext context)
AbstractSvgNodeRendererdoDraw in class AbstractSvgNodeRenderercontext - the object that knows the place to draw this element and maintains its stateprotected com.itextpdf.kernel.geom.Rectangle getObjectBoundingBox(SvgDrawContext context)
AbstractSvgNodeRenderergetObjectBoundingBox in class AbstractSvgNodeRenderercontext - the object that knows the place to draw this element and maintains its stateRectangle representing the current object's bounding boxpublic ISvgNodeRenderer createDeepCopy()
ISvgNodeRendererCopyright © 1998–2020 iText Group NV. All rights reserved.