/** * 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); outline = tr.createTransformedShape(outline); return outline; }
/** * 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); outline = tr.createTransformedShape(outline); return outline; }
/** * 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); outline = tr.createTransformedShape(outline); return outline; }