Uses of Interface
org.jfree.text.TextMeasurer
-
Packages that use TextMeasurer Package Description org.jfree.text Utility classes relating to text. -
-
Uses of TextMeasurer in org.jfree.text
Classes in org.jfree.text that implement TextMeasurer Modifier and Type Class Description class
G2TextMeasurer
ATextMeasurer
based on aGraphics2D
.Methods in org.jfree.text with parameters of type TextMeasurer Modifier and Type Method Description static TextBlock
TextUtilities. createTextBlock(java.lang.String text, java.awt.Font font, java.awt.Paint paint, float maxWidth, int maxLines, TextMeasurer measurer)
Creates a new text block from the given string, breaking the text into lines so that themaxWidth
value is respected.static TextBlock
TextUtilities. createTextBlock(java.lang.String text, java.awt.Font font, java.awt.Paint paint, float maxWidth, TextMeasurer measurer)
Creates a new text block from the given string, breaking the text into lines so that themaxWidth
value is respected.private static int
TextUtilities. nextLineBreak(java.lang.String text, int start, float width, java.text.BreakIterator iterator, TextMeasurer measurer)
Returns the character index of the next line break.
-