Esempio n. 1
0
 public RectangleGeometry(Rect rect, double radiusX, double radiusY, Transform transform)
 {
   _rect = rect;
   _radiusX = radiusX;
   _radiusY = radiusY;
   _transform = transform;
 }
Esempio n. 2
0
 public CombinedGeometry(GeometryCombineMode mode, Geometry geometry1, Geometry geometry2, Transform transform)
 {
   _mode = mode;
   _geometry1 = geometry1;
   _geometry2 = geometry2;
   _transform = transform;
 }
    public int IndexOf(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      return List.IndexOf(transform);
    }
    public void CopyTo(Transform[] array, int arrayIndex)
    {
      if (array == null)
      {
        throw new ArgumentNullException("array");
      }

      List.CopyTo(array, arrayIndex);
    }
    public bool Contains(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      return List.Contains(transform);
    }
    public void Add(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      List.Add(transform);
    }
Esempio n. 7
0
 public abstract void PushTransform(Transform transform);
    public bool Remove(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      if (List.Contains(transform) == false)
      {
        return false;
      }

      List.Remove(transform);

      return true;
    }
    public void Insert(int index, Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      List.Insert(index, transform);
    }