struct
Godot::Color::Lab
- Godot::Color::Lab
- Struct
- Value
- Object
Overview
Intermediary representation for CIE 1976 Lab* (CIELAB)
Defined in:
lapis/color.crConstructors
- .new(l : Float32, a : Float32, b : Float32, alpha : Float32 = 1.0_f32)
- .new(l : Number, a : Number, b : Number, alpha : Number = 1.0)
Instance Method Summary
- #a : Float32
- #a=(a : Float32)
- #a=(val : Number) : Void
- #alpha : Float32
- #alpha=(alpha : Float32)
- #alpha=(val : Number) : Void
- #b : Float32
- #b=(b : Float32)
- #b=(val : Number) : Void
-
#delta_e(other : Lab) : Float32
Computes perceptual color difference (CIE76 Delta-E)
- #l : Float32
- #l=(l : Float32)
- #l=(val : Number) : Void
- #to_color : Godot::Color
- #to_rgb : Godot::Color
-
#to_s(io : IO) : Void
Same as
#inspect(io).
Instance methods inherited from class Object
try?(&)try? try?