Example #1
0
    public bool Remove(Point point)
    {
      if (List.Contains(point) == false)
      {
        return false;
      }

      List.Remove(point);

      return true;
    }
Example #2
0
 public Size(Point location) : this(location.X, location.Y) {}
Example #3
0
 public bool Contains(Point point, Matrix matrix)
 {
   return Contains(point.X, point.Y, matrix);
 }
Example #4
0
 public bool Contains(Point point)
 {
   return point.X >= _location.X && point.Y >= _location.Y && point.X <= _location.X + _size.Width &&
          point.Y <= _location.Y + _size.Height;
 }
Example #5
0
 public Rect(double x, double y, double w, double h)
 {
   _location = new Point(x, y);
   _size = new Size(w, h);
 }
Example #6
0
 public Rect(Point location, Size size) : this(location.X, location.Y, size.Width, size.Height) {}
Example #7
0
 public void Insert(int index, Point point)
 {
   List.Insert(index, point);
 }
Example #8
0
 public int IndexOf(Point point)
 {
   return List.IndexOf(point);
 }
Example #9
0
 public void CopyTo(Point[] array, int arrayIndex)
 {
   List.CopyTo(array, arrayIndex);
 }
Example #10
0
 public bool Contains(Point point)
 {
   return List.Contains(point);
 }
Example #11
0
 public void Add(Point point)
 {
   List.Add(point);
 }