vertices property

List<Vector2> get vertices

The vertices (corners) of the polygon.

The user should treat this list as read-only and not attempt to modify either the list itself or individual points.

Implementation

List<Vector2> get vertices => _vertices;