class

Tourmaline::BackgroundFillFreeformGradient

Inherits JSON::Serializable < Reference < Object

The background is a freeform gradient that rotates after every message in the chat.

Constructors

new(type : String, colors : Array(Int32 | Int64) = [] of Int32 | Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

colors

A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format

Source
colors=(colors : Array(Int32 | Int64))

A list of the 3 or 4 base colors that are used to generate the freeform gradient in the RGB24 format

Source
type

Type of the background fill, always "freeform_gradient"

Source
type=(type : String)

Type of the background fill, always "freeform_gradient"

Source