public class StrokingTextHandler extends Object implements TextHandler
public void drawString(Graphics2D g2d, String text, float x, float y) throws IOException
drawString
在接口中 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 1999-2016 The Apache Software Foundation. All Rights Reserved.