public class LineTo extends AbstractPathShape
coordinates, copier, properties, relative
Modifier and Type | Method and Description |
---|---|
void |
draw(PdfCanvas canvas)
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 necessary
|
createPoint, getEndingPoint, isRelative
public void draw(PdfCanvas canvas)
IPathShape
canvas
- to which this instruction is drawn
public void setCoordinates(String[] inputCoordinates, Point startPoint)
IPathShape
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
Copyright © 1998–2020 iText Group NV. All rights reserved.