| java.lang.Object org.jfree.text.G2TextMeasurer
Method Summary | |
public float | getStringWidth(String text, int start, int end) Returns the string width.
Parameters: text - the text. Parameters: start - the index of the first character to measure. Parameters: end - the index of the last character to measure. |
G2TextMeasurer | public G2TextMeasurer(Graphics2D g2)(Code) | | Creates a new text measurer.
Parameters: g2 - the graphics device. |
getStringWidth | public float getStringWidth(String text, int start, int end)(Code) | | Returns the string width.
Parameters: text - the text. Parameters: start - the index of the first character to measure. Parameters: end - the index of the last character to measure. The string width. |
|
|