org.apache.xmlgraphics.java2d
public class StrokingTextHandler extends java.lang.Object implements TextHandler
Constructor and Description |
---|
StrokingTextHandler(AbstractGraphics2D g2d)
Main constructor
|
Modifier and Type | Method and Description |
---|---|
void |
drawString(java.lang.String text,
float x,
float y)
Draw some text.
|
public StrokingTextHandler(AbstractGraphics2D g2d)
g2d
- a graphics 2d implementationpublic void drawString(java.lang.String text, float x, float y)
drawString
in interface TextHandler
text
- the text to paintx
- the x-coordinate where the String
should be renderedy
- the y-coordinate where the String
should be renderedCopyright 1999-2008 The Apache Software Foundation. All Rights Reserved.