Exemplo n.º 1
0
 /// <override></override>
 protected internal ShapeGroup(ShapeType shapeType, Template template)
     : base()
 {
     if (shapeType == null) throw new ArgumentNullException("shapeType");
     this.shapeType = shapeType;
     this.template = template;
     children = new GroupShapeAggregation(this);
 }
Exemplo n.º 2
0
 /// <override></override>
 protected internal ShapeGroup(ShapeType shapeType, IStyleSet styleSet)
     : base()
 {
     if (shapeType == null)
     {
         throw new ArgumentNullException("shapeType");
     }
     this.shapeType = shapeType;
     this.template  = null;
     children       = new GroupShapeAggregation(this);
 }