Exemplo n.º 1
0
    void IAddChild.AddChild(object child)
    {
      if (child is Transform == false)
      {
        throw new ArgumentException(string.Format("must be of type {0}", this.GetType()));
      }

      if (_children == null)
      {
        _children = new TransformCollection();
      }

      _children.Add((Transform)child);
    }
 public TransformGroup(TransformCollection transforms)
 {
     _children = transforms;
 }
Exemplo n.º 3
0
 public TransformGroup(TransformCollection transforms)
 {
   _children = transforms;
 }