docx
    Preparing search index...

    Type Alias GradientStop

    A colour stop in a gradient fill.

    type GradientStop = {
        color: ShapeColor;
        position: number;
        transparency?: number;
    }
    Index
    color: ShapeColor

    A 6-digit hex colour such as "FF0000", or a colour of the document's theme such as { theme: "accent1" }

    position: number

    Where the stop sits along the gradient, from 0 to 100

    transparency?: number

    From 0 (opaque) to 100 (invisible)