- Common ways to obtain TextSpanLayout
private void myMethod () {TextSpanLayout t =
StrokingTextPainter.TextRun run;run.getLayout()
AttributedCharacterIterator aci;Point2D offset;FontRenderContext frc;new GlyphLayout(aci, charMap, offset, frc)
- Smart code suggestions by Codota
}
TextSpanLayout layout = textRun.getLayout(); Shape layoutHighlightedShape = layout.getHighlightShape (beginIndex, endIndex);
TextSpanLayout layout = textRun.getLayout(); Shape layoutHighlightedShape = layout.getHighlightShape (beginIndex, endIndex);
TextSpanLayout layout = textRun.getLayout(); Shape layoutHighlightedShape = layout.getHighlightShape (beginIndex, endIndex);