Path
A collection of points that make up a shape that can later be rendered to the screen.
This is the basic tool to create rectangles and more complex polygons to later be
turned into Triangles and rendered to the screen.
Fields
- points:[]const Point.Physical
- []const Point.Physical
Types
- Builder
A builder with an ArrayList to add points to.
Functions
- fillConvex
Fill path (must be convex) with
color(orTheme.color_fill). SeeRect.fill.- fillConvexTriangles
Generates triangles to fill path (must be convex).
- stroke
Stroke path as a series of line segments. See
Rect.stroke.- strokeTriangles
Generates triangles to stroke path.
Aliases
- Path
A collection of points that make up a shape that can later be rendered to the screen.