public class EllipticalCurveTo extends AbstractPathShape
coordinates, copier, properties, relative| Constructor and Description |
|---|
EllipticalCurveTo()
Creates an absolute Elliptical curveTo.
|
EllipticalCurveTo(boolean relative)
Creates a Elliptical curveTo.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(com.itextpdf.kernel.pdf.canvas.PdfCanvas canvas)
Draws this instruction to a canvas object.
|
com.itextpdf.kernel.geom.Rectangle |
getPathShapeRectangle(com.itextpdf.kernel.geom.Point lastPoint)
Get bounding rectangle of the current path shape.
|
void |
setCoordinates(String[] inputCoordinates,
com.itextpdf.kernel.geom.Point previous)
This method sets the coordinates for the path painting operator and does internal
preprocessing, if necessary
|
createPoint, getEndingPoint, isRelativepublic EllipticalCurveTo()
public EllipticalCurveTo(boolean relative)
relative - whether this is a relative EllipticalCurveTo or notpublic void setCoordinates(String[] inputCoordinates, com.itextpdf.kernel.geom.Point previous)
IPathShapeinputCoordinates - an array containing point values for path coordinatesprevious - the ending point of the previous operator, or, in broader terms,
the point that the coordinates should be absolutized against, for relative operatorspublic void draw(com.itextpdf.kernel.pdf.canvas.PdfCanvas canvas)
IPathShapecanvas - to which this instruction is drawnpublic com.itextpdf.kernel.geom.Rectangle getPathShapeRectangle(com.itextpdf.kernel.geom.Point lastPoint)
AbstractPathShapegetPathShapeRectangle in interface IPathShapegetPathShapeRectangle in class AbstractPathShapelastPoint - start point for this shapeCopyright © 1998–2021 iText Group NV. All rights reserved.