←Select platform

ChannelMixerCommandFactor Constructor(int,int,int,int)

Summary

Initializes a new ChannelMixerCommandFactor class with explicit parameters.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public ChannelMixerCommandFactor( 
   int red, 
   int green, 
   int blue, 
   int constant 
) 
Public Function New( _ 
   ByVal red As Integer, _ 
   ByVal green As Integer, _ 
   ByVal blue As Integer, _ 
   ByVal constant As Integer _ 
) 
public ChannelMixerCommandFactor(  
   int red, 
   int green, 
   int blue, 
   int constant 
) 
- (instancetype)initWithRed:(NSInteger)red 
                      green:(NSInteger)green 
                       blue:(NSInteger)blue 
                   constant:(NSInteger)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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.Color Assembly