Ejemplo n.º 1
0
     CompositeShape(CompositeShapeDescriptor descriptor)
 {
     WrappedCompositeShape = new DR.Geometry.Shapes.CompositeShape();
     UserData = descriptor.UserData;
     ShapePositionerFactory = new CompositeShapeShapePositionerFactory(this);
 }
Ejemplo n.º 2
0
 public static ICompositeShape CreateComposite(this IFactory<IShape> factory,
                                      CompositeShapeDescriptor descriptor)
 {
     return factory.Create<ICompositeShape, CompositeShapeDescriptor>(descriptor);
 }
 public DefaultCompositeShape(CompositeShapeDescriptor descriptor)
 {
     Descriptor = descriptor;
 }