Пример #1
0
    public bool Remove(Point point)
    {
      if (List.Contains(point) == false)
      {
        return false;
      }

      List.Remove(point);

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