BackgroundFill
public indirect enum BackgroundFill : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes a fill of a background
-
Describes a solid fill of a background
- color: A color of the background in the RGB24 format
Declaration
Swift
case solid(color: Int32)
-
Describes a gradient fill of a background
- topColor: A top color of the background in the RGB24 format
- bottomColor: A bottom color of the background in the RGB24 format
- rotationAngle: Clockwise rotation angle of the gradient, in degrees; 0-359. Should be always divisible by 45
Declaration
Swift
case gradient(topColor: Int32, bottomColor: Int32, rotationAngle: Int32)