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