public class UseSvgNodeRenderer extends AbstractSvgNodeRenderer
attributesAndStyles
Constructor and Description |
---|
UseSvgNodeRenderer() |
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.
|
Rectangle |
getObjectBoundingBox(SvgDrawContext context)
Calculates the current object bounding box.
|
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
public ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderer
public Rectangle getObjectBoundingBox(SvgDrawContext context)
ISvgNodeRenderer
context
- the current context, for instance it contains current viewport and available font data
Rectangle
representing the current object's bounding box, or null if bounding box is undefined
Copyright © 1998–2022 iText Group NV. All rights reserved.