public class StrokingTextHandler extends Object implements TextHandler
Constructor and Description |
---|
StrokingTextHandler()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
drawString(Graphics2D g2d,
String text,
float x,
float y)
Draw some text.
|
public void drawString(Graphics2D g2d, String text, float x, float y) throws IOException
drawString
in interface TextHandler
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 renderedIOException
- In case of an I/O errorCopyright © 2022 Apache Software Foundation. All rights reserved.