TextHandler
public class StrokingTextHandler extends java.lang.Object implements TextHandler
Constructor | Description |
---|---|
StrokingTextHandler() |
Default constructor.
|
Modifier and Type | Method | Description |
---|---|---|
void |
drawString(java.awt.Graphics2D g2d,
java.lang.String text,
float x,
float y) |
Draw some text.
|
public void drawString(java.awt.Graphics2D g2d, java.lang.String text, float x, float y) throws java.io.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 renderedjava.io.IOException
- In case of an I/O errorCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.