ColorHSL Constructor (Single, Single, Single, Single) |
Initializes a new instance of the ColorHSL class
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntaxpublic ColorHSL(
float hue,
float saturation,
float luminance,
float alpha = 1f
)
Public Sub New (
hue As Single,
saturation As Single,
luminance As Single,
Optional alpha As Single = 1F
)
new :
hue : float32 *
saturation : float32 *
luminance : float32 *
?alpha : float32
(* Defaults:
let _alpha = defaultArg alpha 1f
*)
-> ColorHSL
Parameters
- hue
- Type: SystemSingle
Hue component (0-360) - saturation
- Type: SystemSingle
Saturation component (0-1) - luminance
- Type: SystemSingle
Luminace component (0-1) - alpha (Optional)
- Type: SystemSingle
Alpha component (0-1)
See Also