Class ClosePath
java.lang.Object
com.itextpdf.svg.renderers.path.impl.AbstractPathShape
com.itextpdf.svg.renderers.path.impl.LineTo
com.itextpdf.svg.renderers.path.impl.ClosePath
- All Implemented Interfaces:
-
IPathShape
Implements closePath(Z) attribute of SVG's path element
-
Field Summary
Fields inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
coordinates, copier, properties, relative
-
Constructor Summary
-
Method Summary
Methods inherited from class com.itextpdf.svg.renderers.path.impl.LineTo
setCoordinates
Methods inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
createPoint, getEndingPoint, getPathShapeRectangle, isRelative
-
Constructor Details
-
ClosePath
public ClosePath() -
ClosePath
public ClosePath(boolean relative)
-
-
Method Details
-
draw
Description copied from interface:IPathShape
Draws this instruction to a canvas object.- Specified by:
-
draw
in interfaceIPathShape
- Overrides:
-
draw
in classLineTo
- Parameters:
-
canvas
- to which this instruction is drawn
-