Save This Page
Home » jcommon-1.0.13 » org.jfree.text » [javadoc | source]
org.jfree.text
public interface: TextMeasurer [javadoc | source]

All Known Implementing Classes:
    G2TextMeasurer

An object that can measure text.
Method from org.jfree.text.TextMeasurer Summary:
getStringWidth
Method from org.jfree.text.TextMeasurer Detail:
 public float getStringWidth(String text,
    int start,
    int end)
    Calculates the width of a String in the current Graphics context.