- 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 textRunLayout = textRun.getLayout(); GeneralPath textRunOutline = new GeneralPath(textRunLayout.getOutline());
TextSpanLayout textRunLayout = textRun.getLayout(); GeneralPath textRunOutline = new GeneralPath(textRunLayout.getOutline());
TextSpanLayout textRunLayout = textRun.getLayout(); GeneralPath textRunOutline = new GeneralPath(textRunLayout.getOutline());