ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.5.2 Assembly / C1.Util.DX Namespace / ColorF Structure / ColorF Constructor / ColorF Constructor(Single,Single,Single,Single)
The red component of the color.
The green component of the color.
The blue component of the color.
The alpha component of the color.

In This Topic
    ColorF Constructor(Single,Single,Single,Single)
    In This Topic
    Initializes a new instance of the ColorF struct.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal red As System.Single, _
       ByVal green As System.Single, _
       ByVal blue As System.Single, _
       Optional ByVal alpha As System.Single _
    )
    public ColorF( 
       System.float red,
       System.float green,
       System.float blue,
       System.float alpha
    )

    Parameters

    red
    The red component of the color.
    green
    The green component of the color.
    blue
    The blue component of the color.
    alpha
    The alpha component of the color.
    See Also