Shapes.Polygon refactoring
Rectangle refactoring
Shape.from fix on null
creating rectangle via center & size