示例#1
0
 public Rect Union(Dot P)
 {
     return(Union((int)P.X, (int)P.Y));
 }
示例#2
0
 public bool Inside(Dot P)
 {
     return(P.X >= Left && P.X < Right && P.Y >= Top && P.Y < Bottom);
 }
示例#3
0
 public Rect(Dot vec)
 {
     Set((int)vec.X, (int)vec.Y, (int)vec.X, (int)vec.Y);
 }