com.lowagie.text.pdf.codec.postscript
public class PAPencil extends Object
Nested Class Summary | |
---|---|
protected static class | PAPencil.State |
Field Summary | |
---|---|
protected HashMap | fonts
The font hashtable with postscript names as keys |
Graphics2D | graphics
The current graphics device |
protected Stack | gStack
The stack of graphic states. |
protected Dimension | size
The canvas size. |
protected PAPencil.State | state
The current graphics state. |
Constructor Summary | |
---|---|
PAPencil(Component component) | |
PAPencil(Graphics graphics, Dimension size) |
Method Summary | |
---|---|
void | arc(double cx, double cy, double r, double ang1, double ang2) |
void | arcn(double cx, double cy, double r, double ang1, double ang2) |
void | charpath(String aString, boolean adjustForStroking) |
void | clip() |
void | clippath() |
void | closepath() |
void | curveto(double x1, double y1, double x2, double y2, double x3, double y3) |
void | eofill() |
void | erasepage() |
void | fill() |
Font | findFont(String fontname) |
void | grestore() |
void | grestoreall() |
void | gsave() |
void | initgraphics() |
void | lineto(double x, double y) |
void | lineto(Point2D p) |
void | moveto(double x, double y) |
void | moveto(Point2D p) |
void | newpath() |
void | rcurveto(double dx1, double dy1, double dx2, double dy2, double dx3, double dy3) |
void | rectfill(double x, double y, double width, double height) |
void | rectfill(Rectangle2D rect) |
void | rectpath(double x, double y, double width, double height) |
void | rectstroke(double x, double y, double width, double height) |
void | rectstroke(Rectangle2D rect) |
void | rlineto(double dx, double dy) |
void | rmoveto(double dx, double dy) |
void | show(String string) |
void | showpage() |
void | stroke() |
Parameters: cx double Centerpoint x cy double Centerpoint y r double Radius r ang1 double first angle ang2 double second angle