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

      return List.IndexOf(transform);
    }
コード例 #4
0
    public void CopyTo(Transform[] array, int arrayIndex)
    {
      if (array == null)
      {
        throw new ArgumentNullException("array");
      }

      List.CopyTo(array, arrayIndex);
    }
コード例 #5
0
    public bool Contains(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      return List.Contains(transform);
    }
コード例 #6
0
    public void Add(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      List.Add(transform);
    }
コード例 #7
0
 public abstract void PushTransform(Transform transform);
コード例 #8
0
    public bool Remove(Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

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

      List.Remove(transform);

      return true;
    }
コード例 #9
0
    public void Insert(int index, Transform transform)
    {
      if (transform == null)
      {
        throw new ArgumentNullException("transform");
      }

      List.Insert(index, transform);
    }