class Tourmaline::GiftBackground

Overview

This object describes the background of a gift.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(center_color : Int32 | Int64, edge_color : Int32 | Int64, text_color : Int32 | Int64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def center_color : Int32 | Int64 #

Center color of the background in RGB format


[View source]
def center_color=(center_color : Int32 | Int64) #

Center color of the background in RGB format


[View source]
def edge_color : Int32 | Int64 #

Edge color of the background in RGB format


[View source]
def edge_color=(edge_color : Int32 | Int64) #

Edge color of the background in RGB format


[View source]
def text_color : Int32 | Int64 #

Text color of the background in RGB format


[View source]
def text_color=(text_color : Int32 | Int64) #

Text color of the background in RGB format


[View source]