polygons property
UnmodifiableListView<UnmodifiableListView<Vector2> >
get
polygons
The vertices of each polygon, in the local coordinates of the component.
There is one polygon for each closed contour of the path, unless it was left out by the filter, and the vertices of each one go counterclockwise in the screen coordinate system.
Implementation
UnmodifiableListView<UnmodifiableListView<Vector2>> get polygons =>
UnmodifiableListView([
for (final polygon in _polygons) UnmodifiableListView(polygon),
]);