←Select platform

RedAmplitude Property

Summary

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

Syntax

C#
VB
WinRT C#
C++
public int RedAmplitude {get; set;}
Public Property RedAmplitude As Integer
public int RedAmplitude {get; set;}
get_RedAmplitude(); 
set_RedAmplitude(value); 
Object.defineProperty('RedAmplitude'); 
public: 
property int RedAmplitude { 
   int get(); 
   void set (    int ); 
} 

Property 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

Refer to FunctionalLightCommand.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.ImageProcessing.SpecialEffects Assembly
Click or drag to resize