PictureEffects Xojo and Real Studio Plugin

HueSaturation.Lightness Method

Use this setter/getter function to set or get a value of Lightness for any desired channel.

Lightness(
   hueChannel as Integer) as Double

Lightness(
   hueChannel as Integer
   assigns value as Double)

Parameters

hueChannel
The channel id.

0 = Master.
1 = Reds
2 = Yellows
3 = Greens
4 = Cyans
5 = Blues
6 = Magentas
value (assignment parameter)
The value to set when using the setter.

Returns

Double
the returned value when using the getter.

Remarks

The value of a Lightness can be from -200 to 200.

See Also

HueSaturation Class