Package org.apache.xmlgraphics.java2d
Interface TextHandler
-
- All Known Subinterfaces:
PSTextHandler
- All Known Implementing Classes:
StrokingTextHandler
public interface TextHandlerInterface which the Graphics2D class delegates text painting to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddrawString(java.awt.Graphics2D g2d, java.lang.String text, float x, float y)Draw some text.
-
-
-
Method Detail
-
drawString
void drawString(java.awt.Graphics2D g2d, java.lang.String text, float x, float y) throws java.io.IOExceptionDraw some text.- Parameters:
g2d- the graphics 2D implementationtext- the text to paintx- the x-coordinate where theStringshould be renderedy- the y-coordinate where theStringshould be rendered- Throws:
java.io.IOException- In case of an I/O error
-
-