public Rectangle(CartPt nw, int width, int height, string color) { _nw = nw; _width = width; _height = height; _color = color; }
public double DistTo(CartPt cart) { throw new NotImplementedException(); }
public bool Contains(CartPt pt) { return((_nw.X <= pt.X) && (pt.X <= _nw.X + _width) && (_nw.Y <= pt.Y) && (pt.Y <= _nw.Y + _height)); }