How do I get the Shape from the outline of a text string?
Created May 4, 2012
John Zukowski The getOutline() method of TextLayout provides this information:
TextLayout layout = new TextLayout(aString, aFont, g2d.getFontRenderContenxt()); // Argument is AffineTransform Shape shape = layout.getOutline(null);