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(PdfCanvas canvas)
Draws this instruction to a canvas object.
|
Rectangle |
getPathShapeRectangle(Point lastPoint)
Get bounding rectangle of the current path shape.
|
void |
setCoordinates(String[] inputCoordinates, Point previous)
This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary
|
createPoint, getEndingPoint, isRelative
public EllipticalCurveTo()
public EllipticalCurveTo(boolean relative)
relative
- whether this is a relative EllipticalCurveTo or not
public void setCoordinates(String[] inputCoordinates, Point previous)
IPathShape
inputCoordinates
- an array containing point values for path coordinates
previous
- the ending point of the previous operator, or, in broader terms, the point that the coordinates should be absolutized against, for relative operators
public void draw(PdfCanvas canvas)
IPathShape
canvas
- to which this instruction is drawn
public Rectangle getPathShapeRectangle(Point lastPoint)
AbstractPathShape
getPathShapeRectangle
in class AbstractPathShape
lastPoint
- start point for this shape
Copyright © 1998–2023 iText Group NV. All rights reserved.