Sha256: ca21165f1c3364dc065b2a588d4e3aabf33f190d06f07c67f572da2e623fc81f

Contents?: true

Size: 665 Bytes

Versions: 1

Compression:

Stored size: 665 Bytes

Contents

module TD::Types
  # 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.
  #
  # @attr fill [TD::Types::BackgroundFill] Description of the background fill.
  # @attr intensity [Integer] Intensity of the pattern when it is shown above the filled background, 0-100.
  # @attr is_moving [Boolean] True, if the background needs to be slightly moved when device is tilted.
  class BackgroundType::Pattern < BackgroundType
    attribute :fill, TD::Types::BackgroundFill
    attribute :intensity, TD::Types::Integer
    attribute :is_moving, TD::Types::Bool
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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