Ejemplo n.º 1
0
 public void ChangeActualShape(ShapeType shapeType)
 {
     ShapeType           = shapeType;
     _shape              = ShapesRepresentation.GetShape(shapeType);
     _shapeRotationIndex = 0;
     CalculateWidthAndHeight();
 }
Ejemplo n.º 2
0
        public Shape(ShapeType shapeType)
        {
            ShapeType = shapeType;
            _shape    = ShapesRepresentation.GetShape(ShapeType);

            CalculateWidthAndHeight();
        }