class Tourmaline::BackgroundTypeWallpaper
 
  - Tourmaline::BackgroundTypeWallpaper
- Reference
- Object
Overview
The background is a wallpaper in the JPEG format.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, document : Tourmaline::Document, dark_theme_dimming : Int32 | Int64, is_blurred : Bool | Nil = nil, is_moving : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
Instance Method Summary
- 
        #dark_theme_dimming : Int32 | Int64
        
          Dimming of the background in dark themes, as a percentage; 0-100 
- 
        #dark_theme_dimming=(dark_theme_dimming : Int32 | Int64)
        
          Dimming of the background in dark themes, as a percentage; 0-100 
- 
        #document : Tourmaline::Document
        
          Document with the wallpaper 
- 
        #document=(document : Tourmaline::Document)
        
          Document with the wallpaper 
- 
        #is_blurred=(is_blurred : Bool | Nil)
        
          Optional. 
- 
        #is_blurred? : Bool | Nil
        
          Optional. 
- 
        #is_moving=(is_moving : Bool | Nil)
        
          Optional. 
- 
        #is_moving? : Bool | Nil
        
          Optional. 
- 
        #type : String
        
          Type of the background, always "wallpaper" 
- 
        #type=(type : String)
        
          Type of the background, always "wallpaper" 
Constructor Detail
Instance Method Detail
Dimming of the background in dark themes, as a percentage; 0-100
Dimming of the background in dark themes, as a percentage; 0-100
Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
Optional. True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12
Optional. True, if the background moves slightly when the device is tilted
Optional. True, if the background moves slightly when the device is tilted