/** * Returns the geometric bounds of this GlyphVector. The geometric * bounds is the tightest rectangle enclosing the geometry of the * glyph vector (not including stroke). */ public Rectangle2D getGeometricBounds() { return getOutline().getBounds2D(); }
/** * Returns the geometric bounds of this GlyphVector. The geometric * bounds is the tightest rectangle enclosing the geometry of the * glyph vector (not including stroke). */ public Rectangle2D getGeometricBounds() { return getOutline().getBounds2D(); }
/** * Returns the geometric bounds of this GlyphVector. The geometric * bounds is the tightest rectangle enclosing the geometry of the * glyph vector (not including stroke). */ public Rectangle2D getGeometricBounds() { return getOutline().getBounds2D(); }
/** * Returns a Shape whose interior corresponds to the visual representation * of this GlyphVector, offset to x, y. */ public Shape getOutline(float x, float y) { Shape outline = getOutline(); AffineTransform tr = AffineTransform.getTranslateInstance(x,y); Shape translatedOutline = tr.createTransformedShape(outline); return translatedOutline; }
/** * Returns a Shape whose interior corresponds to the visual representation * of this GlyphVector, offset to x, y. */ public Shape getOutline(float x, float y) { Shape outline = getOutline(); AffineTransform tr = AffineTransform.getTranslateInstance(x,y); Shape translatedOutline = tr.createTransformedShape(outline); return translatedOutline; }
/** * Returns a Shape whose interior corresponds to the visual representation * of this GlyphVector, offset to x, y. */ public Shape getOutline(float x, float y) { Shape outline = getOutline(); AffineTransform tr = AffineTransform.getTranslateInstance(x,y); Shape translatedOutline = tr.createTransformedShape(outline); return translatedOutline; }