public interface IPathShape
Modifier and Type | Method and Description |
---|---|
void |
draw(PdfCanvas canvas)
Draws this instruction to a canvas object.
|
Point |
getEndingPoint()
Gets the ending point on the canvas after the path shape has been drawn via the draw(PdfCanvas) method, in SVG space coordinates.
|
Rectangle |
getPathShapeRectangle(Point lastPoint)
Get bounding rectangle of the current path shape.
|
boolean |
isRelative()
Returns true when this shape is a relative operator.
|
void |
setCoordinates(String[] inputCoordinates, Point startPoint)
This method sets the coordinates for the path painting operator and does internal preprocessing, if necessary
|
void draw(PdfCanvas canvas)
canvas
- to which this instruction is drawn
void setCoordinates(String[] inputCoordinates, Point startPoint)
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
Point getEndingPoint()
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.
boolean isRelative()
Copyright © 1998–2022 iText Group NV. All rights reserved.