struct
Godot::Color::HSL
- Godot::Color::HSL
- Struct
- Value
- Object
Overview
Intermediary representation for Hue, Saturation, Lightness, and Alpha
Defined in:
lapis/color.crConstructors
- .new(h : Float32, s : Float32, l : Float32, a : Float32 = 1.0_f32)
- .new(h : Number, s : Number, l : Number, a : Number = 1.0)
Instance Method Summary
- #a : Float32
- #a=(a : Float32)
- #a=(val : Number) : Void
- #h : Float32
- #h=(h : Float32)
- #h=(val : Number) : Void
- #l : Float32
- #l=(l : Float32)
- #l=(val : Number) : Void
- #s : Float32
- #s=(s : Float32)
- #s=(val : Number) : Void
- #to_color : Godot::Color
- #to_rgb : Godot::Color
-
#to_s(io : IO) : Void
Same as
#inspect(io). - #with_a(new_a : Number) : HSL
- #with_h(new_h : Number) : HSL
- #with_l(new_l : Number) : HSL
- #with_s(new_s : Number) : HSL
Instance methods inherited from class Object
try?(&)try? try?