class
Hamilton::Types::BackgroundFillGradient
- Hamilton::Types::BackgroundFillGradient
- Reference
- Object
Overview
The background is a gradient fill.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/background_fill.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#bottom_color : Int32
Bottom color of the gradient in the RGB24 format.
-
#bottom_color=(bottom_color : Int32)
Bottom color of the gradient in the RGB24 format.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#rotation_angle : Int32
Clockwise rotation angle of the background fill in degrees; 0-359.
-
#rotation_angle=(rotation_angle : Int32)
Clockwise rotation angle of the background fill in degrees; 0-359.
-
#top_color : Int32
Top color of the gradient in the RGB24 format.
-
#top_color=(top_color : Int32)
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".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def rotation_angle=(rotation_angle : Int32)
#
Clockwise rotation angle of the background fill in degrees; 0-359.