| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public abstract void | appendRectangle(Point2D
starting coordinate of the rectangle p0, Point2D second coordinate of the rectangle p1, Point2D third coordinate of the rectangle p2, Point2D last coordinate of the rectangle p3)Append a rectangle to the current path. |
| public abstract void | clip(int
The winding rule which will be used for clipping. windingRule)Modify the current clipping path by intersecting it with the current path. |
| public abstract void | |
| public abstract void | curveTo(float
the X coordinate of the first Bézier control point x1, float the Y coordinate of the first Bézier control point y1, float the X coordinate of the second Bézier control point x2, float the Y coordinate of the second Bézier control point y2, float the X coordinate of the final end point x3, float the Y coordinate of the final end point y3)Draws a curve from the current point to (x3,y3) using (x1,y1) and (x2,y2) as control points. |
| public abstract void | |
| public abstract void | |
| public abstract void | fillAndStrokePath(int
The winding rule this path will use. windingRule)Fills and then strokes the path. |
| public abstract void | |
| public abstract Point2D | |
| protected final PDPage | |
| public abstract void | lineTo(float
the X-coordinate of the ending-point of the line to be drawn x, float the Y-coordinate of the ending-point of the line to be drawn y)Draws a line from the current point to (x,y). |
| public abstract void | moveTo(float
the x-coordinate to move to x, float the y-coordinate to move to y)Starts a new path at (x,y). |
| public abstract void | shadingFill(COSName
The name of the Shading Dictionary to use for this fill instruction. shadingName)Fill with Shading. |
| public abstract void |
| page | back to summary |
|---|---|
| private final PDPage page | |
| PDFGraphicsStreamEngine | back to summary |
|---|---|
| protected PDFGraphicsStreamEngine(PDPage page) Constructor.
| |
| appendRectangle | back to summary |
|---|---|
| public abstract void appendRectangle(Point2D p0, Point2D p1, Point2D p2, Point2D p3) throws IOException Append a rectangle to the current path.
| |
| clip | back to summary |
|---|---|
| public abstract void clip(int windingRule) throws IOException Modify the current clipping path by intersecting it with the current path. The clipping path will not be updated until the succeeding painting operator is called.
| |
| closePath | back to summary |
|---|---|
| public abstract void closePath() throws IOException Closes the current path.
| |
| curveTo | back to summary |
|---|---|
| public abstract void curveTo(float x1, float y1, float x2, float y2, float x3, float y3) throws IOException Draws a curve from the current point to (x3,y3) using (x1,y1) and (x2,y2) as control points.
| |
| drawImage | back to summary |
|---|---|
| public abstract void drawImage(PDImage pdImage) throws IOException Draw the image.
| |
| endPath | back to summary |
|---|---|
| public abstract void endPath() throws IOException Ends the current path without filling or stroking it. The clipping path is updated here.
| |
| fillAndStrokePath | back to summary |
|---|---|
| public abstract void fillAndStrokePath(int windingRule) throws IOException Fills and then strokes the path.
| |
| fillPath | back to summary |
|---|---|
| public abstract void fillPath(int windingRule) throws IOException Fill the path.
| |
| getCurrentPoint | back to summary |
|---|---|
| public abstract Point2D getCurrentPoint() throws IOException Returns the current point of the current path.
| |
| getPage | back to summary |
|---|---|
| protected final PDPage getPage() Returns the page.
| |
| lineTo | back to summary |
|---|---|
| public abstract void lineTo(float x, float y) throws IOException Draws a line from the current point to (x,y).
| |
| moveTo | back to summary |
|---|---|
| public abstract void moveTo(float x, float y) throws IOException Starts a new path at (x,y).
| |
| shadingFill | back to summary |
|---|---|
| public abstract void shadingFill(COSName shadingName) throws IOException Fill with Shading.
| |
| strokePath | back to summary |
|---|---|
| public abstract void strokePath() throws IOException Stroke the path.
| |