GoDigram for .NET Framework and .NET Core
Northwoods.Go.Draw Namespace / GoColor Structure / ColorFromCmy Method
The "Cyan" component of the color according to the CMY color model.
The "Magenta" component of the color according to the CMY color model.
The "Yellow" component of the color according to the CMY color model.
In This Topic
    ColorFromCmy Method
    In This Topic
    Creates a System.Drawing.Color structure from the three CMY component values.
    Syntax
    public static Color ColorFromCmy( 
       float cyan,
       float magenta,
       float yellow
    )

    Parameters

    cyan
    The "Cyan" component of the color according to the CMY color model.
    magenta
    The "Magenta" component of the color according to the CMY color model.
    yellow
    The "Yellow" component of the color according to the CMY color model.

    Return Value

    Returns a Northwoods.Go.Draw.GoColor
    Remarks
    Each of the parameter values range from 0.0f to 1.0f, inclusive. Alpha is set to 1.0f (fully opaque). This is more efficient than GoColor.FromCmy(cyan, magenta, yellow).Color
    See Also