}\r
}\r
\r
- /**\r
- *\r
- * @param text\r
- * @param bounds\r
- * @deprecated use {@link #drawString(byte[], Rectangle2D)}\r
- */\r
- public void drawString(String text, Rectangle2D bounds) {\r
- drawString(text, bounds, null);\r
- }\r
-\r
public void drawString(byte[] text, Rectangle2D bounds) {\r
drawString(text, bounds, null);\r
}\r
\r
- /**\r
- *\r
- * @param text\r
- * @param bounds\r
- * @deprecated use {@link #drawString(byte[], Rectangle2D, int[])}\r
- */\r
- public void drawString(String text, Rectangle2D bounds, int dx[]) {\r
- drawString(text.getBytes(DEFAULT_CHARSET), bounds, dx);\r
- }\r
-\r
public void drawString(byte[] text, Rectangle2D bounds, int dx[]) {\r
HwmfFont font = prop.getFont();\r
if (font == null || text == null || text.length == 0) {\r