Sha256: b4083589817cb192a2710bbf4975b15c8a0bb61137de245327a1221379e4ae2d

Contents?: true

Size: 575 Bytes

Versions: 2

Compression:

Stored size: 575 Bytes

Contents

module TD::Types
  # Describes a gradient fill of a background.
  #
  # @attr top_color [Integer] A top color of the background in the RGB24 format.
  # @attr bottom_color [Integer] A bottom color of the background in the RGB24 format.
  # @attr rotation_angle [Integer] Clockwise rotation angle of the gradient, in degrees; 0-359.
  #   Should be always divisible by 45.
  class BackgroundFill::Gradient < BackgroundFill
    attribute :top_color, TD::Types::Integer
    attribute :bottom_color, TD::Types::Integer
    attribute :rotation_angle, TD::Types::Integer
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
tdlib-schema-1.7.0.1 lib/tdlib/types/background_fill/gradient.rb
tdlib-ruby-2.2.0 lib/tdlib/types/background_fill/gradient.rb