vertices property

List<Vector2> get vertices

The 4 corners of this rectangle, returned in a clockwise fashion.

Implementation

List<Vector2> get vertices => [topLeft, topRight, bottomRight, bottomLeft];