@Override public boolean contains(Point2D.Double p){
  Ellipse2D.Double r=(Ellipse2D.Double)ellipse.clone();
  double grow=AttributeKeys.getPerpendicularHitGrowth(this);
  r.x-=grow;
  r.y-=grow;
  r.width+=grow * 2;
  r.height+=grow * 2;
  return r.contains(p);
}

@ Override public boolean contains ( Point2D . Double p ) { Ellipse2D . Double r = ( Ellipse2D . Double ) ellipse . clone ( ) ; double grow = AttributeKeys . getPerpendicularHitGrowth ( this ) ; r . x -= grow ; r . y -= grow ; r . width += grow * 2 ; r . height += grow * 2 ; return r . contains ( p ) ; }
checks if a point2d . double is inside the figure .
