public class CurveTo extends AbstractPathShape implements IControlPointCurve
coordinates, copier, properties, relative
Constructor and Description |
---|
CurveTo() |
CurveTo(boolean relative) |
CurveTo(boolean relative, IOperatorConverter copier) |
Modifier and Type | Method and Description |
---|---|
void |
draw(PdfCanvas canvas)
Draws this instruction to a canvas object.
|
Point |
getLastControlPoint()
Returns coordinates of the last control point (the one closest to the ending point) in the Bezier curve, in SVG space coordinates
|
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 CurveTo()
public CurveTo(boolean relative)
public CurveTo(boolean relative, IOperatorConverter copier)
public void draw(PdfCanvas canvas)
IPathShape
draw
in interface IPathShape
canvas
- to which this instruction is drawn
public void setCoordinates(String[] inputCoordinates, Point startPoint)
IPathShape
setCoordinates
in interface 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
public Point getLastControlPoint()
IControlPointCurve
getLastControlPoint
in interface IControlPointCurve
Copyright © 1998–2020 iText Group NV. All rights reserved.