public class QuadraticCurveTo extends AbstractPathShape
properties, relative
Constructor and Description |
---|
QuadraticCurveTo() |
Modifier and Type | Method and Description |
---|---|
void |
draw(PdfCanvas canvas)
Draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point
|
Point |
getEndingPoint()
Gets the ending point on the canvas after the path shape has been drawn via the IPathShape.draw(PdfCanvas) method, in SVG space coordinates.
|
void |
setCoordinates(String[] coordinates, Point startPoint)
This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary
|
createPoint, isRelative
public void draw(PdfCanvas canvas)
canvas
- to which this instruction is drawn
public void setCoordinates(String[] coordinates, Point startPoint)
IPathShape
coordinates
- 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 getEndingPoint()
IPathShape
IPathShape.draw(PdfCanvas)
method, in SVG space coordinates.
Point
representing the final point in the drawn path. If the point does not exist or does not change null
may be returned.
Copyright © 1998–2019 iText Group NV. All rights reserved.