Shape.rectangle constructor

Shape.rectangle(
  1. Vector2 size
)

Implementation

factory Shape.rectangle(Vector2 size) = Rectangle;