class
Hamilton::Types::BackgroundTypeWallpaper
- Hamilton::Types::BackgroundTypeWallpaper
- Reference
- Object
Overview
The background is a wallpaper in the JPEG format.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/background_type.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#dark_theme_dimming : Int32
Dimming of the background in dark themes, as a percentage; 0-100.
-
#dark_theme_dimming=(dark_theme_dimming : Int32)
Dimming of the background in dark themes, as a percentage; 0-100.
-
#document : Hamilton::Types::Document
Document with the wallpaper.
-
#document=(document : Hamilton::Types::Document)
Document with the wallpaper.
-
#is_blurred : Bool | Nil
True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12.
-
#is_blurred=(is_blurred : Bool | Nil)
True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12.
-
#is_moving : Bool | Nil
True, if the background moves slightly when the device is tilted.
-
#is_moving=(is_moving : Bool | Nil)
True, if the background moves slightly when the device is tilted.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#type : String
Type of the background, always "wallpaper".
-
#type=(type : String)
Type of the background, always "wallpaper".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
Dimming of the background in dark themes, as a percentage; 0-100.
True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12.
True, if the wallpaper is downscaled to fit in a 450x450 square and then box-blurred with radius 12.
True, if the background moves slightly when the device is tilted.