Exemplo n.º 1
0
 // Determines if this point lies inside the trapezoid
 public bool Contains(Point point)
 {
     return(point.X > LeftPoint.X && point.X < RightPoint.X && Top.IsAbove(point) && Bottom.IsBelow(point));
 }