HslColor Constructor(Single,Single,Single,Single)
In This Topic
Initializes a new instance of the
HslColor struct.
Syntax
'Declaration
Public Function New( _
ByVal As System.Single, _
ByVal As System.Single, _
ByVal As System.Single, _
Optional ByVal As System.Single _
)
public HslColor(
System.float ,
System.float ,
System.float ,
System.float
)
Parameters
- hue
- Hue value in the range [0, 360].
- saturation
- Saturation value in the range [0, 1].
- lightness
- Lightness value in the range [0, 1].
- opacity
- Opacity value in the range [0, 1].
See Also