public class PDFPathConstructor extends QuadToCubicPathConstructor
currentX, currentY
Constructor and Description |
---|
PDFPathConstructor(PDFStream stream) |
Modifier and Type | Method and Description |
---|---|
void |
closePath(double x0,
double y0)
Closes the path by drawing a straight line to the last point which was
argument to move.
|
void |
cubic(double x1,
double y1,
double x2,
double y2,
double x3,
double y3)
Draws a cubic bezier curve from the current point to (x3, y3) using the
control points (x1, y1) and (x2, y2) and make (x3, y3) the current point.
|
void |
line(double x,
double y)
Draws a line from the current point to (x,y) and make (x,y) the current
point.
|
void |
move(double x,
double y)
Makes (x,y) the current point.
|
quad
public PDFPathConstructor(PDFStream stream)
public void move(double x, double y) throws IOException
PathConstructor
move
in interface PathConstructor
move
in class QuadToCubicPathConstructor
IOException
public void line(double x, double y) throws IOException
PathConstructor
line
in interface PathConstructor
line
in class QuadToCubicPathConstructor
IOException
public void cubic(double x1, double y1, double x2, double y2, double x3, double y3) throws IOException
PathConstructor
cubic
in interface PathConstructor
cubic
in class QuadToCubicPathConstructor
IOException
public void closePath(double x0, double y0) throws IOException
PathConstructor
closePath
in interface PathConstructor
closePath
in class QuadToCubicPathConstructor
IOException
Copyright © 2014. All rights reserved.