GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoColor Structure / ColorFromAhsl Method
The transparency of the color; 0.0f is completely transparent, 1.0f is completely opaque.
The "Hue" component of the color according to the HSL color model.
The "Saturation" component of the color according to the HSL color model.
The "Luminance" component of the color according to the HSL color model.
In This Topic
    ColorFromAhsl Method
    In This Topic
    Creates a System.Drawing.Color structure from the four AHSL component values.
    Syntax
    public static Color ColorFromAhsl( 
       float alpha,
       float hue,
       float saturation,
       float luminance
    )

    Parameters

    alpha
    The transparency of the color; 0.0f is completely transparent, 1.0f is completely opaque.
    hue
    The "Hue" component of the color according to the HSL color model.
    saturation
    The "Saturation" component of the color according to the HSL color model.
    luminance
    The "Luminance" component of the color according to the HSL color model.

    Return Value

    Returns a System.Drawing.Color structure.
    Remarks
    The hue parameter value ranges from 0.0f to 360.0f, inclusive. Each of the other parameter values range from 0.0f to 1.0f, inclusive. This is more efficient than GoColor.FromAhsl(alpha, hue, saturation, luminance).Color
    See Also