drawPolygon
Draws a polygon based on the specified parameters including loops, corner settings, and a fringe width for smoothing.
Parameters
The drawing context containing render configurations and transformation matrices.
The style settings including fill, stroke, and other visual customization options.
A list of closed loop paths represented as lists of Vector2 points defining the edges of the polygon.
A list of lists indicating corner flags for each point in the loops. Defines if a corner is convex or concave.
A value specifying the fringe width for smoothing, primarily used in rendering filled polygons.
The bounds that shade styles read positions in as c_boundsPosition, the position of the top-left corner and the size, by default the bounds of the loops.