Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RedAmplitude Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > FunctionalLightCommand Class : RedAmplitude Property



Gets or sets a value that represents the amplitude of the red color.

Syntax

Visual Basic (Declaration)  
Public Property RedAmplitude As Integer
Visual Basic (Usage) Copy Code
Dim instance As FunctionalLightCommand
Dim value As Integer
 
instance.RedAmplitude = value
 
value = instance.RedAmplitude
C#  
public int RedAmplitude {get; set;}
C++/CLI  
public:
property int RedAmplitude {
   int get();
   void set (int value);
}

Return Value

If the image is grayscale, this property represents the amplitude of the master channel. If the image is color and the FunctionalLightCommandFlags.Multiply or FunctionalLightCommandFlags.LinearQuadratic flags are set, this property represents the amplitude of each channel. If the image is color and FunctionalLightCommandFlags.Addition flag is used, this represents the amplitude of the red channel. This value is an integer with a value greater than or equal to 0. This value will be multiplied with the results of the selected function (sine, cosine, user buffer , _). The results of the multiplications are then added to the pixel values. These functions as well as the real buffer values are from -1 to 1. Possible values for this property are from 0-100.

Example

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also