|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TextHandler
Interface which the Graphics2D class delegates text painting to.
Method Summary | |
---|---|
void |
drawString(java.awt.Graphics2D g2d,
java.lang.String text,
float x,
float y)
Draw some text. |
void |
drawString(java.lang.String text,
float x,
float y)
Deprecated. Use #drawString(Graphics2D, String, float, float) instead. |
Method Detail |
---|
void drawString(java.awt.Graphics2D g2d, java.lang.String text, float x, float y) throws java.io.IOException
g2d
- the graphics 2D implementationtext
- 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 errorvoid drawString(java.lang.String text, float x, float y) throws java.io.IOException
#drawString(Graphics2D, String, float, float)
instead.
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
|
xmlgraphics-commons 1.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |