/** * Returns a Shape whose interior corresponds to the visual representation * of the specified glyph within this GlyphVector. */ public Shape getGlyphOutline(int glyphIndex) { int idx = getGVIdx(glyphIndex); return gvs[idx].getGlyphOutline(glyphIndex-off[idx]); }
/** * Returns a Shape whose interior corresponds to the visual representation * of the specified glyph within this GlyphVector. */ public Shape getGlyphOutline(int glyphIndex) { int idx = getGVIdx(glyphIndex); return gvs[idx].getGlyphOutline(glyphIndex-off[idx]); }
/** * Returns a Shape whose interior corresponds to the visual representation * of the specified glyph within this GlyphVector. */ public Shape getGlyphOutline(int glyphIndex) { int idx = getGVIdx(glyphIndex); return gvs[idx].getGlyphOutline(glyphIndex-off[idx]); }
Rectangle2D glyphBounds = gv.getGlyphOutline(i).getBounds2D(); float glyphWidth = (float) glyphBounds.getWidth(); float glyphHeight = (float) glyphBounds.getHeight();
Rectangle2D glyphBounds = gv.getGlyphOutline(i).getBounds2D(); float glyphWidth = (float) glyphBounds.getWidth(); float glyphHeight = (float) glyphBounds.getHeight();
Rectangle2D glyphBounds = gv.getGlyphOutline(i).getBounds2D(); float glyphWidth = (float) glyphBounds.getWidth(); float glyphHeight = (float) glyphBounds.getHeight();