Skip to content

BackgroundFillGradient

Type · TDLib 1.8.67 · d1085f9c

Describes a gradient fill of a background

BackgroundFillGradient(
  top_color: int32,
  bottom_color: int32,
  rotation_angle: int32
) → BackgroundFill

top_color

int32

A top color of the background in the RGB format

bottom_color

int32

A bottom color of the background in the RGB format

rotation_angle

int32

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