Interface BackgroundFillGradient

Describes a gradient fill of a background. Subtype of BackgroundFill.

interface BackgroundFillGradient {
    @type: "backgroundFillGradient";
    bottom_color: number;
    rotation_angle: number;
    top_color: number;
}

Properties

@type: "backgroundFillGradient"
bottom_color: number

A bottom color of the background in the RGB format.

rotation_angle: number

Clockwise rotation angle of the gradient, in degrees; 0-359. Must always be divisible by 45.

top_color: number

A top color of the background in the RGB format.