/** * Returns a Shape whose interior corresponds to the visual representation * of this GlyphVector. */ public Shape getOutline() { if (outline != null) return outline; outline = new GeneralPath(); for (int i = 0; i < getNumGlyphs(); i++) { if (glyphVisible[i]) { Shape glyphOutline = getGlyphOutline(i); outline.append(glyphOutline, false); } } return outline; }
/** * Returns a Shape whose interior corresponds to the visual representation * of this GlyphVector. */ public Shape getOutline() { if (outline != null) return outline; outline = new GeneralPath(); for (int i = 0; i < getNumGlyphs(); i++) { if (glyphVisible[i]) { Shape glyphOutline = getGlyphOutline(i); outline.append(glyphOutline, false); } } return outline; }
/** * Returns a Shape whose interior corresponds to the visual representation * of this GlyphVector. */ public Shape getOutline() { if (outline != null) return outline; outline = new GeneralPath(); for (int i = 0; i < getNumGlyphs(); i++) { if (glyphVisible[i]) { Shape glyphOutline = getGlyphOutline(i); outline.append(glyphOutline, false); } } return outline; }