TextHandlerpublic class StrokingTextHandler extends Object implements TextHandler
| Constructor | Description |
|---|---|
StrokingTextHandler() |
Default constructor.
|
| Modifier and Type | Method | 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 TextHandlerg2d - 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 © 2018 Apache Software Foundation. All rights reserved.