|
xmlgraphics-commons 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextHandler
Interface which the PSGraphics2D class delegates text painting to.
| Method Summary | |
|---|---|
void |
drawString(java.lang.String text,
float x,
float y)
Draw some text. |
void |
writePageSetup()
Is called by when a "PageSetup" section of the PostScript document is generated. |
void |
writeSetup()
Is called by when the "Setup" or "Prolog" of the PostScript document is generated. |
| Method Detail |
|---|
void drawString(java.lang.String text,
float x,
float y)
throws java.io.IOException
text - the text to paintx - the x-coordinate where the String should be renderedy - the y-coordinate where the String should be rendered
java.io.IOException - In case of an I/O error
void writeSetup()
throws java.io.IOException
java.io.IOException - In case of an I/O error
void writePageSetup()
throws java.io.IOException
java.io.IOException - In case of an I/O error
|
xmlgraphics-commons 1.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||