ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1HslColor Structure / C1HslColor Constructor / C1HslColor Constructor(Byte,Single,Single,Single)
Alpha channel.
Hue is a value between 0 and 1.
Saturation is a value between 0 and 1.
Luminance is a value between 0 and 1.



In This Topic
    C1HslColor Constructor(Byte,Single,Single,Single)
    In This Topic
    Initializes a new instance of the C1HslColor struct.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal a As Byte, _
       ByVal h As Single, _
       ByVal s As Single, _
       ByVal l 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 a,
       float h,
       float s,
       float l
    )
    public:
    C1HslColor( 
       byte a,
       float h,
       float s,
       float l
    )

    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