Property | Type | Description | |
---|---|---|---|
A | double | ||
B | double | ||
G | double | ||
R | double |
Method | Description | |
---|---|---|
HLSA ( double H, double L, double S, double A ) : |
Creates a color from its HLSA representation.
|
|
Mix ( |
Mixes two colors based on the specified amount. If the amount is 0.0, the resulting color will be A. If the amount is 1.0, the resulting color will be B. Values in between will cause the color to be interpolated.
|
|
RGB ( double R, double G, double B ) : |
Creates a color from its RGB reprsentation with a completely opaque alpha.
|
|
RGBA ( double R, double G, double B, double A ) : |
Creates a color from its RGBA representation. Values should be between 0.0 and 1.0.
|
public static HLSA ( double H, double L, double S, double A ) : |
||
H | double | Hue in degrees. |
L | double | Lumination between 0.0 and 1.0. |
S | double | Saturation between 0.0 and 1.0. |
A | double | Alpha between 0.0 and 1.0. |
return |
public static Mix ( |
||
A | ||
B | ||
Amount | double | |
return |
public static RGB ( double R, double G, double B ) : |
||
R | double | |
G | double | |
B | double | |
return |
public static RGBA ( double R, double G, double B, double A ) : |
||
R | double | |
G | double | |
B | double | |
A | double | |
return |