Sha256: 981e32ef2deeead940a4c6a12d1fbf2921ab645f88302eb1e23344c59a3138b7

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-schema-1.7.0.1 lib/tdlib/types/background_type/pattern.rb