GoDiagram Win Reference
SetCmy 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.
Sets the color of the Northwoods.Go.Draw.GoColor from the three CMY component values.
Syntax
'Declaration
 
Public Sub SetCmy( _
   ByVal cyan As Single, _
   ByVal magenta As Single, _
   ByVal yellow As Single _
) 
public void SetCmy( 
   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.
Remarks
Each of the parameter values range from 0.0f to 1.0f, inclusive. Alpha is unmodified. This is more efficient than setting each of the properties sequentially.
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