class

Tourmaline::BackgroundFillGradient

Inherits JSON::Serializable < Reference < Object

The background is a gradient fill.

Constructors

new(type : String, top_color : Int32 | Int64, bottom_color : Int32 | Int64, rotation_angle : Int32 | Int64)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

bottom_color

Bottom color of the gradient in the RGB24 format

Source
bottom_color=(bottom_color : Int32 | Int64)

Bottom color of the gradient in the RGB24 format

Source
rotation_angle

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

Source
rotation_angle=(rotation_angle : Int32 | Int64)

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

Source
top_color

Top color of the gradient in the RGB24 format

Source
top_color=(top_color : Int32 | Int64)

Top color of the gradient in the RGB24 format

Source
type

Type of the background fill, always "gradient"

Source
type=(type : String)

Type of the background fill, always "gradient"

Source