public interface JRTextMeasurer
| Modifier and Type | Method and Description |
|---|---|
JRMeasuredText |
measure(JRStyledText styledText,
int remainingTextStart,
int availableStretchHeight,
boolean canOverflow)
Fit a text chunk in a given space.
|
JRMeasuredText measure(JRStyledText styledText, int remainingTextStart, int availableStretchHeight, boolean canOverflow)
styledText - the full textremainingTextStart - the start index of the remaining textavailableStretchHeight - the available stretch heightcanOverflow - whether the text element is able to overflowCopyright © 2017. All rights reserved.