LEADTOOLS Image Processing (Leadtools.ImageProcessing.Color assembly)
LEAD Technologies, Inc

ChannelMixerCommandFactor Constructor(Int32,Int32,Int32,Int32)






Value that represents the percentage of the red color value that should be distributed to the red component. Valid values are -200 to 200.
Value that represents the percentage of the green color value that should be distributed to the green component. Valid values are -200 to 200.
Value that represents the percentage of the blue color value that should be distributed to the blue component. Valid values are -200 to 200.
Value that represents the color value that should be added to the whole image. Valid values are -200 to 200.
Initializes a new ChannelMixerCommandFactor class with explicit parameters. .NET support WinRT support Silverlight support
Syntax
public ChannelMixerCommandFactor( 
   int red,
   int green,
   int blue,
   int constant
)
'Declaration
 
Public Function New( _
   ByVal red As Integer, _
   ByVal green As Integer, _
   ByVal blue As Integer, _
   ByVal constant As Integer _
)
'Usage
 
Dim red As Integer
Dim green As Integer
Dim blue As Integer
Dim constant As Integer
 
Dim instance As New ChannelMixerCommandFactor(red, green, blue, constant)
public ChannelMixerCommandFactor( 
   int red,
   int green,
   int blue,
   int constant
)
function ChannelMixerCommandFactor( 
   red ,
   green ,
   blue ,
   constant 
)
public:
ChannelMixerCommandFactor( 
   int red,
   int green,
   int blue,
   int constant
)

Parameters

red
Value that represents the percentage of the red color value that should be distributed to the red component. Valid values are -200 to 200.
green
Value that represents the percentage of the green color value that should be distributed to the green component. Valid values are -200 to 200.
blue
Value that represents the percentage of the blue color value that should be distributed to the blue component. Valid values are -200 to 200.
constant
Value that represents the color value that should be added to the whole image. Valid values are -200 to 200.
Example
Refer to ChannelMixerCommand()
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

ChannelMixerCommandFactor Class
ChannelMixerCommandFactor Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.