Exemple #1
0
 public void Offset(Pt offset)
 {
     X += offset.X;
     Y += offset.Y;
 }
Exemple #2
0
 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)));
 }