Example usage for Java com.itextpdf.text.pdf.parser Path fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addSubpaths(List extends Subpath> subpaths) Adds the subpaths to this path. |
void | closeAllSubpaths() Closes all subpathes contained in this path. |
void | closeSubpath() Closes the current subpath. |
Point2D | getCurrentPoint() The current point is the trailing endpoint of the segment most recently added to the current path. |
List | getSubpaths() |
boolean | isEmpty() Path is empty if it contains no subpaths. |
void | lineTo(final float x, final float y) Appends a straight line segment from the current point to the point (x, y) . |
void | moveTo(final float x, final float y) Begins a new subpath by moving the current point to coordinates (x, y) . |
List | replaceCloseWithLine() Adds additional line to each closed subpath and makes the subpath unclosed. |