class Hamilton::Types::BackgroundFillFreeformGradient

Overview

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

Included Modules

Defined in:

types/background_fill.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def colors : Array(Int32) #

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


def colors=(colors : Array(Int32)) #

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


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def type : String #

Type of the background fill, always "freeform_gradient".


def type=(type : String) #

Type of the background fill, always "freeform_gradient".