class Tourmaline::BackgroundFillGradient
- Tourmaline::BackgroundFillGradient
- Reference
- Object
Overview
The background is a gradient fill.
Included Modules
- JSON::Serializable
Defined in:
tourmaline/types/api.crConstructors
- .new(type : String, top_color : Int32 | Int64, bottom_color : Int32 | Int64, rotation_angle : Int32 | Int64)
- .new(pull : JSON::PullParser)
Instance Method Summary
-
#bottom_color : Int32 | Int64
Bottom color of the gradient in the RGB24 format
-
#bottom_color=(bottom_color : Int32 | Int64)
Bottom color of the gradient in the RGB24 format
-
#rotation_angle : Int32 | Int64
Clockwise rotation angle of the background fill in degrees; 0-359
-
#rotation_angle=(rotation_angle : Int32 | Int64)
Clockwise rotation angle of the background fill in degrees; 0-359
-
#top_color : Int32 | Int64
Top color of the gradient in the RGB24 format
-
#top_color=(top_color : Int32 | Int64)
Top color of the gradient in the RGB24 format
-
#type : String
Type of the background fill, always "gradient"
-
#type=(type : String)
Type of the background fill, always "gradient"
Constructor Detail
def self.new(type : String, top_color : Int32 | Int64, bottom_color : Int32 | Int64, rotation_angle : Int32 | Int64)
#
Instance Method Detail
def rotation_angle : Int32 | Int64
#
Clockwise rotation angle of the background fill in degrees; 0-359
def rotation_angle=(rotation_angle : Int32 | Int64)
#
Clockwise rotation angle of the background fill in degrees; 0-359