A Paint Node that contains a [Curve2D] for defining a shape. For use with [PaintProject]s.
A PaintNode that uses a [Curve2D] as a base for it's rendered shape. Supports both fills, and outlines.
A [Curve2D] describing the shape.
The curve's fill color. If [code]texture[/code] is defined, it will be multiplied by this color. It will also be the default color for vertices not set in [code]vertex_colors[/code].
Whether the curve is filled in.
Added padding applied to the bounding box when using [code]fill_invert_enable[/code]. Setting this value too small may result in a "Bad Polygon" error.
If [code]true[/code], shape will be inverted, containing the area outside the defined points and extending to the [code]fill_invert_border[/code].
The shape's fill texture.
Amount to offset the shape's [code]fill_texture[/code]. If [code](0, 0)[/code] the texture's origin (its top-left corner) will be placed at the shapes's [code]position[/code].
The fill texture's rotation in radians.
The fill texture's rotation in degrees.
Amount to multiply the [code]uv[/code] coordinates when using a [code]fill_texture[/code]. Larger values make the texture smaller, and vice versa.
Color of the drawn outline if [code]outline_enabled[/code] is true. If [code]outline_texture[/code] is defined, it will be multiplied by this color.
Whether an outline is drawn around the curve.
The shape's outline texture.
Amount to offset the shape's [code]outline_texture[/code]. If [code](0, 0)[/code] the texture's origin (its top-left corner) will be placed at the shapes's [code]position[/code].
The outline texture's rotation in radians.
The outline texture's rotation in degrees.
Amount to multiply the [code]uv[/code] coordinates when using a [code]outline_texture[/code]. Larger values make the texture smaller, and vice versa.
Width of the drawn outline if [code]outline_enabled[/code] is true.