Class: TD::Types::BackgroundFill::FreeformGradient

Inherits:
TD::Types::BackgroundFill show all
Defined in:
lib/tdlib/types/background_fill/freeform_gradient.rb

Overview

Describes a freeform gradient fill of a background.

Instance Attribute Summary collapse

Method Summary

Methods inherited from TD::Types::Base

#to_hash, #to_json

Instance Attribute Details

#colorsArray<Integer>

A list of 3 or 4 colors of the freeform gradient in the RGB24 format.

Returns:

  • (Array<Integer>)

    the current value of colors



5
6
7
# File 'lib/tdlib/types/background_fill/freeform_gradient.rb', line 5

def colors
  @colors
end