GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoColor Structure / ColorFromArgb Method
The transparency of the color; 0.0f is completely transparent, 1.0f is completely opaque.
The "Red" component of the color according to the RGB color model.
The "Green" component of the color according to the RGB color model.
The "Blue" component of the color according to the RGB color model.
In This Topic
    ColorFromArgb Method
    In This Topic
    Creates a System.Drawing.Color structure from the four ARGB component values.
    Syntax
    public static Color ColorFromArgb( 
       float alpha,
       float red,
       float green,
       float blue
    )

    Parameters

    alpha
    The transparency of the color; 0.0f is completely transparent, 1.0f is completely opaque.
    red
    The "Red" component of the color according to the RGB color model.
    green
    The "Green" component of the color according to the RGB color model.
    blue
    The "Blue" component of the color according to the RGB color model.

    Return Value

    Returns a System.Drawing.Color structure.
    Remarks
    Each of the parameter values range from 0.0f to 1.0f, inclusive.
    See Also