if (y < y0) y0 = y;
if (y > y1) y1 = y;
}
Bounds bds = Bounds.create(x0, y0, x1 - x0 + 1, y1 - y0 + 1);
int stroke = getStrokeWidth();
bounds = stroke < 2 ? bds : bds.expand(stroke / 2);
}
private GeneralPath getPath() {
GeneralPath p = path;
if (p == null) {