Sha256: 8930af4aa4d1c06196dab52ba1f3b7fc717a364a21c7e6796cd7b41b0525d45b

Contents?: true

Size: 608 Bytes

Versions: 2

Compression:

Stored size: 608 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::Coercible::Integer
    attribute :bottom_color, TD::Types::Coercible::Integer
    attribute :rotation_angle, TD::Types::Coercible::Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tdlib-schema-1.7.0.3 lib/tdlib/types/background_fill/gradient.rb
tdlib-schema-1.7.0.2 lib/tdlib/types/background_fill/gradient.rb