public interface TextMeasurer
Modifier and Type | Method and Description |
---|---|
float |
getStringWidth(String text,
int start,
int end)
Calculates the width of a
String in the current
Graphics context. |
float getStringWidth(String text, int start, int end)
String
in the current
Graphics
context.text
- the text.start
- the start position of the substring to be measured.end
- the position of the last character to be measured.Copyright © 2001–2017 JFree.org. All rights reserved.