public DefaultPointShape(PointShapeDescriptor descriptor)
 {
     Descriptor = descriptor;
 }
Esempio n. 2
0
 public static IPointShape CreatePoint(this IFactory<IShape> factory,
                                      PointShapeDescriptor descriptor)
 {
     return factory.Create<IPointShape, PointShapeDescriptor>(descriptor);
 }
Esempio n. 3
0
 public PointShape(PointShapeDescriptor descriptor)
 {
     WrappedPointShape = new global::DigitalRune.Geometry.Shapes.PointShape(descriptor.Position.ToDigitalRune());
     UserData = descriptor.UserData;
 }