The manager that owns this RenderNode.
By default this is an empty method hook that you can override and use in your own custom render nodes.
This method is called at the start of the run method.
Don't forget to call it in your custom method.
The context currently in use.
By default this is an empty method hook that you can override and use in your own custom render nodes.
This method is called at the end of the run method.
Don't forget to call it in your custom method.
The context currently in use.
Render the path using Earcut.
The context currently in use.
The current transform matrix.
The Submitter node to use.
The points that define the line segments.
The top-left tint color.
The top-right tint color.
The bottom-left tint color.
The level of detail to use when filling the path. Points which are only this far apart in screen space are combined. It is ignored if the entire path is equal to or shorter than this distance.
Whether to apply lighting effects to the path.
Set whether the node should report debug information.
It wraps the run method with additional debug information.
Whether to report debug information.
A RenderNode which fills a path.
It works by taking the array of path data and then passing it through Earcut, which creates a list of polygons. Each polygon is then added to the batch. The polygons are triangles, but they're rendered as quads to be compatible with other batched quads.