LightRedAmplitude property (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

long LightRedAmplitude

Overview

Refer to Applying Artistic Effects

Remarks

(Raster Pro and above toolkits.) Gets or sets a value that represents the amplitude of the master channel or the amplitude of the red channel.

If the bitmap is grayscale, this property represents the amplitude of the master channel. If the bitmap is color and FL_MUL or FL_LINEAR_QUADRATIC is set in the LightFlags property, this property represents the amplitude of each channel. If the bitmap is color and FLB_ADD is set in the LightFlags property, 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, UserShape, …). These results are then added to the pixel values. These values as well as the real buffer values are from –1 to 1.

Possible values for the LightRedAmplitude property are from 0–100.

See Also

Elements:

LightFrequency property, LightGreenAmplitude property, LightBlueAmplitude property, LightAngle property, LightXOrigin property, LightYOrigin property, LightPhase property, UserShapeCount property, UserShape property, LightFlags property, FunctionalLight method

Topics:

Raster Images: Artistic Effects