VFX-JS
    Preparing search index...

    Type Alias PixelStretchParams

    type PixelStretchParams = {
        angle: number;
        centerX: number;
        centerY: number;
        offset: number;
        reach: number;
        smoothness: number;
    }
    Index

    Properties

    angle: number

    Stretch direction, in degrees.

    centerX: number

    Effect center X, in [0, 1].

    centerY: number

    Effect center Y, in [0, 1].

    offset: number

    Stretch line position along the axis, in [-1, 1] (0 = center).

    reach: number

    Height of the stretch band, as a fraction of the element.

    smoothness: number

    Soften the band's edges, in [0, 1].