Class: TD::Types::BackgroundType::Pattern
- Inherits:
-
TD::Types::BackgroundType
- Object
- Dry::Struct
- TD::Types::Base
- TD::Types::BackgroundType
- TD::Types::BackgroundType::Pattern
- Defined in:
- lib/tdlib/types/background_type/pattern.rb
Overview
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.
Instance Attribute Summary collapse
-
#fill ⇒ TD::Types::BackgroundFill
Description of the background fill.
-
#intensity ⇒ Integer
Intensity of the pattern when it is shown above the filled background; 0-100.
-
#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
#fill ⇒ TD::Types::BackgroundFill
Description of the background fill.
8 9 10 |
# File 'lib/tdlib/types/background_type/pattern.rb', line 8 def fill @fill end |
#intensity ⇒ Integer
Intensity of the pattern when it is shown above the filled background; 0-100.
8 9 10 |
# File 'lib/tdlib/types/background_type/pattern.rb', line 8 def intensity @intensity end |
#is_moving ⇒ Boolean
True, if the background needs to be slightly moved when device is tilted.
8 9 10 |
# File 'lib/tdlib/types/background_type/pattern.rb', line 8 def is_moving @is_moving end |