SheetXL - v1.0.2
    Preparing search index...

    Interface GradientJSON

    interface GradientJSON {
        angle?: number;
        flip?: IFill.TileFlip;
        focus?: Rectangle;
        gradientType?: IFill.GradientType;
        isRotatedWithShape?: boolean;
        scaled?: boolean;
        stops?: (string | GradientStopProperties<string>)[];
        tileRect?: RectInsets;
        type: "gradient";
    }

    Hierarchy (View Summary)

    Index
    angle?: number

    Which of the gradient's tiles are mirrored, when tileRect is smaller than the shape.

    focus?: Rectangle
    gradientType?: IFill.GradientType
    isRotatedWithShape?: boolean
    scaled?: boolean

    Whether a linear gradient's angle scales with the shape's aspect ratio (DrawingML lin/@scaled).

    stops?: (string | GradientStopProperties<string>)[]
    tileRect?: RectInsets

    The rectangle the gradient is drawn in, as insets from the shape's bounds; the area outside it repeats the gradient as tiles (DrawingML tileRect). Absent for the whole shape.

    type: "gradient"