Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
HSLColor.cs
Go to the documentation of this file.
1public struct HSLColor
2{
3 public float h;
4
5 public float s;
6
7 public float l;
8
9 public float a;
10
11 public HSLColor(float h, float s, float l, float a = 1f)
12 {
13 this.h = h;
14 this.s = s;
15 this.l = l;
16 this.a = a;
17 }
18
19 public new string ToString()
20 {
21 return $"HSLA = ({h}, {s}, {l}, {a})";
22 }
23}
float l
Definition: HSLColor.cs:7
float a
Definition: HSLColor.cs:9
float s
Definition: HSLColor.cs:5
new string ToString()
Definition: HSLColor.cs:19
float h
Definition: HSLColor.cs:3
HSLColor(float h, float s, float l, float a=1f)
Definition: HSLColor.cs:11