Initializes a new instance of the
C1HslColor struct.
Syntax
'Declaration
Public Function New( _
ByVal As Byte, _
ByVal As Single, _
ByVal As Single, _
ByVal As Single _
)
'Usage
Dim a As Byte
Dim h As Single
Dim s As Single
Dim l As Single
Dim instance As New C1HslColor(a, h, s, l)
public C1HslColor(
byte ,
float ,
float ,
float
)
public:
C1HslColor(
byte ,
float ,
float ,
float
)
Parameters
- a
- Alpha channel.
- h
- Hue is a value between 0 and 1.
- s
- Saturation is a value between 0 and 1.
- l
- Luminance is a value between 0 and 1.
See Also