public class PolygonSvgNodeRenderer extends PolylineSvgNodeRenderer
ISvgNodeRenderer implementation for the <polygon> tag.pointsattributesAndStyles| 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, getPointscanConstructViewPort, canElementFill, deepCopyAttributesAndStyles, draw, getAttribute, getAttributeMapCopy, getParent, setAttribute, setAttributesAndStyles, setParentprotected void setPoints(String pointsAttribute)
PolylineSvgNodeRenderer.points
Then calls connectPoints() to create a path between the first and last point if it doesn't already existsetPoints in class PolylineSvgNodeRendererpointsAttribute - A string of space separated x,y value pairspublic ISvgNodeRenderer createDeepCopy()
ISvgNodeRenderercreateDeepCopy in interface ISvgNodeRenderercreateDeepCopy in class PolylineSvgNodeRendererCopyright © 1998–2019 iText Group NV. All rights reserved.