Sha256: 5e65bc1d112989d80d0a7b382a8033a96a0eec735908c4d8d1028bd23c64f048

Contents?: true

Size: 565 Bytes

Versions: 1

Compression:

Stored size: 565 Bytes

Contents

module TD::Types
  # A PNG pattern to be combined with the color chosen by the user.
  #
  # @attr is_moving [Boolean] True, if the background needs to be slightly moved when device is rotated.
  # @attr color [Integer] Main color of the background in RGB24 format.
  # @attr intensity [Integer] Intensity of the pattern when it is shown above the main background color, 0-100.
  class BackgroundType::Pattern < BackgroundType
    attribute :is_moving, TD::Types::Bool
    attribute :color, TD::Types::Integer
    attribute :intensity, TD::Types::Integer
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdlib-ruby-2.1.0 lib/tdlib/types/background_type/pattern.rb