GoDiagram Win Reference
ColorFromAcmyk Method

The transparency of the color; 0.0f is completely transparent, 1.0f is completely opaque.
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.
Creates a System.Drawing.Color structure from the five ACMYK component values.
Syntax
'Declaration
 
Public Shared Function ColorFromAcmyk( _
   ByVal alpha As Single, _
   ByVal cyan As Single, _
   ByVal magenta As Single, _
   ByVal yellow As Single, _
   ByVal key As Single _
) As Color
public static Color ColorFromAcmyk( 
   float alpha,
   float cyan,
   float magenta,
   float yellow,
   float key
)

Parameters

alpha
The transparency of the color; 0.0f is completely transparent, 1.0f is completely opaque.
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. This is more efficient than GoColor.FromAcmyk(alpha, cyan, magenta, yellow, key).Color
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoColor Structure
GoColor Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback