| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected int | |
| protected int | |
| protected boolean | |
| public static final String | |
| protected SystemFontMetrics | |
| protected String | |
| protected int | |
| protected double | |
| public static final Map | |
| protected StringBuilder |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public int | |
| public double | |
| public String | |
| public double | |
| public double | |
| protected StringBuilder | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| boundingBox | back to summary |
|---|---|
| protected String boundingBox | |
| boundingBoxHeight | back to summary |
|---|---|
| protected int boundingBoxHeight | |
| boundingBoxWidth | back to summary |
|---|---|
| protected int boundingBoxWidth | |
| closed | back to summary |
|---|---|
| protected boolean closed | |
| DEFAULT_FONT | back to summary |
|---|---|
| public static final String DEFAULT_FONT | |
| fontMetrics | back to summary |
|---|---|
| protected SystemFontMetrics fontMetrics | |
| fontName | back to summary |
|---|---|
| protected String fontName | |
| fontSize | back to summary |
|---|---|
| protected int fontSize | |
| lineWidth | back to summary |
|---|---|
| protected double lineWidth | |
| POSTSCRIPT_FONT_NAMES | back to summary |
|---|---|
| public static final Map<String, String> POSTSCRIPT_FONT_NAMES | |
| ps | back to summary |
|---|---|
| protected StringBuilder ps | |
| PostScriptDocument | back to summary |
|---|---|
| public PostScriptDocument() | |
| PostScriptDocument | back to summary |
|---|---|
| public PostScriptDocument(String fontName, int fontSize) | |
| boundingBox | back to summary |
|---|---|
| public void boundingBox(int w, int h) | |
| close | back to summary |
|---|---|
| public void close() | |
| getFontSize | back to summary |
|---|---|
| public int getFontSize() | |
| getLineHeight | back to summary |
|---|---|
| public double getLineHeight() | |
| getPS | back to summary |
|---|---|
| public String getPS() | |
| getWidth | back to summary |
|---|---|
| public double getWidth(char c) All chars are 600 thousands of an 'em' wide if courier | |
| getWidth | back to summary |
|---|---|
| public double getWidth(String s) | |
| header | back to summary |
|---|---|
| protected StringBuilder header() Compute the header separately because we need to wait for the bounding box | |
| highlight | back to summary |
|---|---|
| public void highlight(double x, double y, double width, double height) Make red box | |
| line | back to summary |
|---|---|
| public void line(double x1, double y1, double x2, double y2) | |
| lineto | back to summary |
|---|---|
| public void lineto(double x, double y) | |
| lineWidth | back to summary |
|---|---|
| public void lineWidth(double w) | |
| move | back to summary |
|---|---|
| public void move(double x, double y) | |
| rect | back to summary |
|---|---|
| public void rect(double x, double y, double width, double height) | |
| setFont | back to summary |
|---|---|
| public void setFont(String fontName, int fontSize) | |
| stroke | back to summary |
|---|---|
| public void stroke() | |
| text | back to summary |
|---|---|
| public void text(String s, double x, double y) | |