public class QuadraticCurveTo extends AbstractPathShape implements IControlPointCurve
coordinates, copier, properties, relative| Constructor and Description |
|---|
QuadraticCurveTo() |
QuadraticCurveTo(boolean relative) |
QuadraticCurveTo(boolean relative,
IOperatorConverter copier) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(com.itextpdf.kernel.pdf.canvas.PdfCanvas canvas)
Draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point
|
com.itextpdf.kernel.geom.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,
com.itextpdf.kernel.geom.Point startPoint)
This method sets the coordinates for the path painting operator and does internal
preprocessing, if necessary
|
createPoint, getEndingPoint, isRelativepublic QuadraticCurveTo()
public QuadraticCurveTo(boolean relative)
public QuadraticCurveTo(boolean relative,
IOperatorConverter copier)
public void draw(com.itextpdf.kernel.pdf.canvas.PdfCanvas canvas)
draw in interface IPathShapecanvas - to which this instruction is drawnpublic void setCoordinates(String[] inputCoordinates, com.itextpdf.kernel.geom.Point startPoint)
IPathShapesetCoordinates in interface IPathShapeinputCoordinates - an array containing point values for path coordinatesstartPoint - the ending point of the previous operator, or, in broader terms,
the point that the coordinates should be absolutized against, for relative operatorspublic com.itextpdf.kernel.geom.Point getLastControlPoint()
IControlPointCurvegetLastControlPoint in interface IControlPointCurveCopyright © 1998–2019 iText Group NV. All rights reserved.