Tres::Color
Inherits Tres::Vector3 < Tres::Vector < Reference < Object
Constructors
new(red, green, blue)
Sourcenew(color : Color)
Sourcenew(hex : Int)
Sourcenew(style : String)
Sourcenew
SourceClass methods
dimensions
Sourceelements
SourceInstance methods
add_colors(a, b)
Sourceb=(v)
Sourceclone
Sourceconvert_gamma_to_linear
Sourceconvert_linear_to_gamma
Sourcecopy_gamma_to_linear(color, gamma_factor = 2.0_f32)
Sourcecopy_linear_to_gamma(color, gamma_factor = 2.0_f32)
Sourceg=(v)
Sourcehex
Sourcehex_string
Sourceoffset_hsl(h, s, l)
Sourcer=(v)
Sourceset(value : Color)
Sourceset(value : Int)
Sourceset(value : String)
Sourceset_hex(hex)
Sourceset_hsl(h, s, l)
Sourceset_rgb(r, g, b)
Sourceset_style(style)
Sourcestyle
Source