A set of Curve2D shapes created using type field. The type field lists how the points should be consumed and are:
Each of the curve shapes has its material filled field toggled when the button is clicked. Curved shapes are filled by closing each segment and using the even-odd winding rule to define the interior. Holes may be created as a result of the fill rule.
The upper six curves shapes are all done with MoveTo and LineTo. The next six are done with MoveTo and CurveTo. The final three using a mix of all types.
Snapshot taken when filled="false".
![]() |
Second snapshot taken when filled="true".
![]() |