Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
HSLColor Struct Reference

Public Member Functions

 HSLColor (float h, float s, float l, float a=1f)
 
new string ToString ()
 

Public Attributes

float h
 
float s
 
float l
 
float a
 

Detailed Description

Definition at line 1 of file HSLColor.cs.

Constructor & Destructor Documentation

◆ HSLColor()

HSLColor.HSLColor ( float  h,
float  s,
float  l,
float  a = 1f 
)
inline

Definition at line 11 of file HSLColor.cs.

12 {
13 this.h = h;
14 this.s = s;
15 this.l = l;
16 this.a = a;
17 }
float l
Definition: HSLColor.cs:7
float a
Definition: HSLColor.cs:9
float s
Definition: HSLColor.cs:5
float h
Definition: HSLColor.cs:3

References a, h, l, and s.

Member Function Documentation

◆ ToString()

new string HSLColor.ToString ( )
inline

Definition at line 19 of file HSLColor.cs.

20 {
21 return $"HSLA = ({h}, {s}, {l}, {a})";
22 }

References $.

Member Data Documentation

◆ a

float HSLColor.a

Definition at line 9 of file HSLColor.cs.

Referenced by HSLColor().

◆ h

float HSLColor.h

◆ l

◆ s

float HSLColor.s

Definition at line 5 of file HSLColor.cs.

Referenced by HSLColor().


The documentation for this struct was generated from the following file: