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

    Parameters

    cyan
    The "Cyan" component of the color according to the CMYK color model.
    magenta
    The "Magenta" component of the color according to the CMYK color model.
    yellow
    The "Yellow" component of the color according to the CMYK color model.
    key
    The "Key" component (amount of black) of the color according to the CMYK color model.

    Return Value

    Returns a System.Drawing.Color structure.
    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.FromCmyk(cyan, magenta, yellow, key).Color
    See Also