class Hamilton::Types::BackgroundFillGradient

Overview

The background is a gradient fill.

Included Modules

Defined in:

types/background_fill.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

def bottom_color : Int32 #

Bottom color of the gradient in the RGB24 format.


def bottom_color=(bottom_color : Int32) #

Bottom color of the gradient in the RGB24 format.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def rotation_angle : Int32 #

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


def rotation_angle=(rotation_angle : Int32) #

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


def top_color : Int32 #

Top color of the gradient in the RGB24 format.


def top_color=(top_color : Int32) #

Top color of the gradient in the RGB24 format.


def type : String #

Type of the background fill, always "gradient".


def type=(type : String) #

Type of the background fill, always "gradient".