- All Known Subinterfaces:
PSTextHandler
- All Known Implementing Classes:
StrokingTextHandler
public interface TextHandler
Interface which the Graphics2D class delegates text painting to.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddrawString(Graphics2D g2d, String text, float x, float y) Draw some text.
-
Method Details
-
drawString
Draw 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:
IOException- In case of an I/O error
-