Interface BackgroundFillGradient

The background is a gradient fill.

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

Properties

bottom_color: number

Bottom color of the gradient in the RGB24 format

rotation_angle: number

Clockwise rotation angle of the background fill in degrees; 0-359

top_color: number

Top color of the gradient in the RGB24 format

type: "gradient"

Type of the background fill, always “gradient”