Class: TD::Types::BackgroundFill::FreeformGradient
- Inherits:
-
TD::Types::BackgroundFill
- Object
- Dry::Struct
- TD::Types::Base
- TD::Types::BackgroundFill
- TD::Types::BackgroundFill::FreeformGradient
- Defined in:
- lib/tdlib/types/background_fill/freeform_gradient.rb
Overview
Describes a freeform gradient fill of a background.
Instance Attribute Summary collapse
-
#colors ⇒ Array<Integer>
A list of 3 or 4 colors of the freeform gradient in the RGB24 format.
Method Summary
Methods inherited from TD::Types::Base
Instance Attribute Details
#colors ⇒ Array<Integer>
A list of 3 or 4 colors of the freeform gradient in the RGB24 format.
5 6 7 |
# File 'lib/tdlib/types/background_fill/freeform_gradient.rb', line 5 def colors @colors end |