return shape.getBounds2D ();
Rectangle2D.Float bounds = new Rectangle2D.Float(); bounds.setRect(this.bounds);  if (stroke == STROKE) { bounds.width++; bounds.height++; }  return bounds;
  public Rectangle2D getBounds ()  {    return shape.getBounds2D ();  }