示例#1
0
文件: Rect.cs 项目: 7Kronos/linda
 public void Offset(Pt offset)
 {
     X += offset.X;
     Y += offset.Y;
 }
示例#2
0
文件: Rect.cs 项目: 7Kronos/linda
 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)));
 }