drawPolygon method
Draw a closed polygon provided in CCW order. WARNING: This mutates
vertices
.
Implementation
@override
void drawPolygon(List<Vector2> vertices, Color3i color) {
_pathPolygon(vertices, color);
ctx.stroke();
}
Draw a closed polygon provided in CCW order. WARNING: This mutates
vertices
.
@override
void drawPolygon(List<Vector2> vertices, Color3i color) {
_pathPolygon(vertices, color);
ctx.stroke();
}