Spline Fill

Node icon

In: Spline & Path Tools > Spline Tools

Description

Fills the interior of input Splines with solid white. The exterior is filled with solid black.

Open splines are closed with a straight line from start to end. Intersections where the spline crosses itself are resolved by inverting the interior and exterior sides of the lines at those junctions.

IMPORTANT
It is not recommended to use this node on splines that are out of the [0 ,1] tile. The filling process is unreliable in that case.

Input connectors

Spline Coords ColorThe coordinates of the input splines’ points encoded in the RGBA channels of a color image:
    R - X position
    G - Y position
    B - Height
    A - Packed data:
        * Sign: Spline is closed (negative) or open (positive);
        * Absolute value: Thickness + 1.

Spline Data ColorAdditional data of the input splines encoded in the RGBA channels of a color image.
    R - Tangents X
     G  - Tangents Y
     B  - Unused
     A  - Unused

Spline Amount IntegerThe number of input splines.

Output connectors

Output Grayscale
The result image of filling the input Splines with flat white against a flat black background.

Examples

table 0-row-2 html-authored no-header
SplineFill-Variant1-Before
Before
SplineFill-Variant1-After
After
Node example 2
recommendation-more-help
dd48abc6-e399-43d2-9777-578ec70c5a23