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