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

            CalculateWidthAndHeight();
        }