767778798081828384858687
makePolygonRelative(); cachedMask = null; } void makePolygonRelative() { FloatPolygon poly = new FloatPolygon(xpf, ypf, nPoints); Rectangle r = poly.getBounds(); x = r.x; y = r.y; width = r.width; height = r.height; for (int i=0; i<nPoints; i++) {