Class: TD::Types::BackgroundType::Wallpaper
- Inherits:
-
TD::Types::BackgroundType
- Object
- Dry::Struct
- TD::Types::Base
- TD::Types::BackgroundType
- TD::Types::BackgroundType::Wallpaper
- Defined in:
- lib/tdlib/types/background_type/wallpaper.rb
Overview
A wallpaper in JPEG format.
Instance Attribute Summary collapse
-
#is_blurred ⇒ Boolean
True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
-
#is_moving ⇒ Boolean
True, if the background needs to be slightly moved when device is tilted.
Method Summary
Methods inherited from TD::Types::Base
Instance Attribute Details
#is_blurred ⇒ Boolean
True, if the wallpaper must be downscaled to fit in 450x450 square and then box-blurred with radius 12.
7 8 9 |
# File 'lib/tdlib/types/background_type/wallpaper.rb', line 7 def @is_blurred end |
#is_moving ⇒ Boolean
True, if the background needs to be slightly moved when device is tilted.
7 8 9 |
# File 'lib/tdlib/types/background_type/wallpaper.rb', line 7 def is_moving @is_moving end |