edges property

List<Vector2> edges

The edges (sides) of the polygon.

Each i-th edge is equal to the vector difference between the i-th vertex and the preceding vertex. The number of edges is always equal to the number of vertices.

Implementation

List<Vector2> get edges => _edges;