public bool Contains(PointFloat value) { return(((value.X > (X - Width / 2))) && (value.Y > (Y - Height / 2)) && (value.X < (X + Width / 2)) && (value.Y < (Y + Height / 2))); }
public void Offset(PointFloat offset) { X += offset.X; Y += offset.Y; }
public bool Equals(PointFloat other) { return((X == other.X) && (Y == other.Y)); }