public class PolygonSvgNodeRenderer extends PolylineSvgNodeRenderer implements IMarkerCapable
ISvgNodeRenderer
implementation for the points
attributesAndStyles
Constructor and Description |
---|
PolygonSvgNodeRenderer() |
Modifier and Type | Method and Description |
---|---|
ISvgNodeRenderer |
createDeepCopy()
Creates a deep copy of this renderer, including it's subtree of children
|
protected void |
setPoints(String pointsAttribute)
Calls setPoints(String) to set PolylineSvgNodeRenderer.points Then calls connectPoints() to create a path between the first and last point if it doesn't already exist
|
doDraw, drawMarker, getAutoOrientAngle, getObjectBoundingBox, getPoints
canConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getAttributeOrDefault, getCurrentFontSize, getParent, parseAbsoluteLength, setAttribute, setAttributesAndStyles, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
drawMarker, getAutoOrientAngle
protected void setPoints(String pointsAttribute)
PolylineSvgNodeRenderer.points
Then calls connectPoints()
to create a path between the first and last point if it doesn't already exist
setPoints
in class PolylineSvgNodeRenderer
pointsAttribute
- A string of space separated x,y value pairs
public ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderer
createDeepCopy
in interface ISvgNodeRenderer
createDeepCopy
in class PolylineSvgNodeRenderer
Copyright © 1998–2023 iText Group NV. All rights reserved.