Class MoveTo
java.lang.Object
com.itextpdf.svg.renderers.path.impl.AbstractPathShape
com.itextpdf.svg.renderers.path.impl.MoveTo
- All Implemented Interfaces:
-
IPathShape
Implements moveTo(M) 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
Modifier and TypeMethodDescriptionvoid
Draws this instruction to a canvas object.void
setCoordinates
(String[] inputCoordinates, Point startPoint) This method sets the coordinates for the path painting operator and does internal preprocessing, if necessaryMethods inherited from class com.itextpdf.svg.renderers.path.impl.AbstractPathShape
createPoint, getEndingPoint, getPathShapeRectangle, isRelative
-
Constructor Details
-
MoveTo
public MoveTo() -
MoveTo
public MoveTo(boolean relative)
-
-
Method Details
-
draw
Description copied from interface:IPathShape
Draws this instruction to a canvas object.- Parameters:
-
canvas
- to which this instruction is drawn
-
setCoordinates
Description copied from interface:IPathShape
This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary- Parameters:
-
inputCoordinates
- an array containing point values for path coordinates -
startPoint
- the ending point of the previous operator, or, in broader terms, the point that the coordinates should be absolutized against, for relative operators
-