class Tourmaline::BackgroundFillGradient

Overview

The background is a gradient fill.

Included Modules

Defined in:

tourmaline/types/api.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, top_color : Int32 | Int64, bottom_color : Int32 | Int64, rotation_angle : Int32 | Int64) #

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

[View source]

Instance Method Detail

def bottom_color : Int32 | Int64 #

Bottom color of the gradient in the RGB24 format


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

Bottom color of the gradient in the RGB24 format


[View source]
def rotation_angle : Int32 | Int64 #

Clockwise rotation angle of the background fill in degrees; 0-359


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

Clockwise rotation angle of the background fill in degrees; 0-359


[View source]
def top_color : Int32 | Int64 #

Top color of the gradient in the RGB24 format


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

Top color of the gradient in the RGB24 format


[View source]
def type : String #

Type of the background fill, always "gradient"


[View source]
def type=(type : String) #

Type of the background fill, always "gradient"


[View source]