/** * Returns the logical bounds of this GlyphVector. * This is a bound useful for hit detection and highlighting. */ public Rectangle2D getLogicalBounds() { if (logicalBounds == null) { // This fills in logicalBounds... computeGlyphLogicalBounds(); } return logicalBounds; }
/** * Returns the logical bounds of this GlyphVector. * This is a bound useful for hit detection and highlighting. */ public Rectangle2D getLogicalBounds() { if (logicalBounds == null) { // This fills in logicalBounds... computeGlyphLogicalBounds(); } return logicalBounds; }
/** * Returns the logical bounds of the specified glyph within this * GlyphVector. */ public Shape getGlyphLogicalBounds(int glyphIndex) { if (glyphLogicalBounds[glyphIndex] == null && glyphVisible[glyphIndex]) { computeGlyphLogicalBounds(); } return glyphLogicalBounds[glyphIndex]; }
/** * Returns the logical bounds of the specified glyph within this * GlyphVector. */ public Shape getGlyphLogicalBounds(int glyphIndex) { if (glyphLogicalBounds[glyphIndex] == null && glyphVisible[glyphIndex]) { computeGlyphLogicalBounds(); } return glyphLogicalBounds[glyphIndex]; }
/** * Returns the logical bounds of this GlyphVector. * This is a bound useful for hit detection and highlighting. */ public Rectangle2D getLogicalBounds() { if (logicalBounds == null) { // This fills in logicalBounds... computeGlyphLogicalBounds(); } return logicalBounds; }
/** * Returns the logical bounds of the specified glyph within this * GlyphVector. */ public Shape getGlyphLogicalBounds(int glyphIndex) { if (glyphLogicalBounds[glyphIndex] == null && glyphVisible[glyphIndex]) { computeGlyphLogicalBounds(); } return glyphLogicalBounds[glyphIndex]; }