class Tourmaline::BackgroundTypeWallpaper
inherits Reference
#
The background is a wallpaper in the JPEG format.
Included modules
JSON::Serializable
Constructors#
.new(type, document, dark_theme_dimming, is_blurred : Bool? = nil, is_moving : Bool? = nil)
#
(type, document, dark_theme_dimming, is_blurred : Bool? = nil, is_moving : Bool? = nil)
Methods#
#dark_theme_dimming : Int32 | Int64
#
: Int32 | Int64
Dimming of the background in dark themes, as a percentage; 0-100
#dark_theme_dimming=(dark_theme_dimming : Int32 | Int64)
#
(dark_theme_dimming : Int32 | Int64)
Dimming of the background in dark themes, as a percentage; 0-100
#is_blurred=(is_blurred : Bool?)
#
(is_blurred : Bool?)
Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
#is_blurred? : Bool?
#
: Bool?
Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
#is_moving=(is_moving : Bool?)
#
(is_moving : Bool?)
Optional. True, if the background moves slightly when the device is tilted
#is_moving? : Bool?
#
: Bool?
Optional. True, if the background moves slightly when the device is tilted