BackgroundType
public indirect enum BackgroundType : Codable, Equatable, FunctionResult, TDEnum, EquatableEnum
Describes the type of a background
-
A wallpaper in JPEG format
- isBlurred: True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12
- isMoving: True, if the background needs to be slightly moved when device is tilted
Declaration
Swift
case wallpaper(isBlurred: Bool, isMoving: Bool)
-
A PNG or TGV (gzipped subset of SVG with MIME type “application/x-tgwallpattern”) pattern to be combined with the background fill chosen by the user
- fill: Description of the background fill
- intensity: Intensity of the pattern when it is shown above the filled background, 0-100
- isMoving: True, if the background needs to be slightly moved when device is tilted
Declaration
Swift
case pattern(fill: BackgroundFill, intensity: Int32, isMoving: Bool)
-
A filled background
- fill: Description of the background fill
Declaration
Swift
case fill(fill: BackgroundFill)