VFX-JS
    Preparing search index...

    Type Alias Contour

    type Contour = {
        area: number;
        length: number;
        points: Float32Array;
        t: Float32Array;
    }
    Index

    Properties

    Properties

    area: number

    Signed loop area in texels²: positive for a filled region's
    outline, negative for a hole's.

    length: number

    Total loop length in texels.

    points: Float32Array

    Vertex positions as flat [x0, y0, x1, y1, ...], texel units.

    t: Float32Array

    Normalized arc length (0..1) at each vertex.