| org.jfree.text.TextMeasurer
All known Subclasses: org.jfree.text.G2TextMeasurer,
TextMeasurer | public interface TextMeasurer (Code) | | An object that can measure text.
author: David Gilbert |
Method Summary | |
public float | getStringWidth(String text, int start, int end) Calculates the width of a String in the current
Graphics context.
Parameters: text - the text. Parameters: start - the start position of the substring to be measured. Parameters: end - the position of the last character to be measured. |
getStringWidth | public float getStringWidth(String text, int start, int end)(Code) | | Calculates the width of a String in the current
Graphics context.
Parameters: text - the text. Parameters: start - the start position of the substring to be measured. Parameters: end - the position of the last character to be measured. The width of the string in Java2D units. |
|
|