rullino
    Preparing search index...

    Interface RadialMask

    1 inside an ellipse, 0 outside. radius is in units of the image's longer side; feather in [0, 1] is the fraction of the radius over which it fades out (0 = hard edge).

    interface RadialMask {
        center: Vec2;
        feather: number;
        invert?: boolean;
        kind: "radial";
        opacity?: number;
        radius: Vec2;
    }

    Hierarchy

    • MaskOptions
      • RadialMask
    Index
    center: Vec2
    feather: number
    invert?: boolean

    Swap inside and outside.

    kind: "radial"
    opacity?: number

    Multiplies the mask (after inverting), in [0, 1]. Default 1.

    radius: Vec2