|
xmlgraphics-commons 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xmlgraphics.java2d.StrokingTextHandler
public class StrokingTextHandler
Default TextHandler implementation which paints text using graphics primitives (shapes).
Constructor Summary | |
---|---|
StrokingTextHandler(AbstractGraphics2D g2d)
Main constructor |
Method Summary | |
---|---|
void |
drawString(java.lang.String text,
float x,
float y)
Draw some text. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StrokingTextHandler(AbstractGraphics2D g2d)
g2d
- a graphics 2d implementationMethod Detail |
---|
public 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 rendered
|
xmlgraphics-commons 1.3.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |