public void Offset(Pt offset) { X += offset.X; Y += offset.Y; }
public bool Contains(Pt value) { return((((this.X <= value.X) && (value.X < (this.X + this.Width))) && (this.Y <= value.Y)) && (value.Y < (this.Y + this.Height))); }