Пример #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);
 }
Пример #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);
 }