PictureEffectsRaw Xojo Plugin

HueSaturationRaw.Lightness Method

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

Lightness(
   hueChannel as HueSaturationRaw.ChannelIDValues) as Double

Lightness(
   hueChannel as HueSaturationRaw.ChannelIDValues
   assigns value as Double)

Parameters

hueChannel
The channel id.

This can be any value from the HueSaturationRaw.ChannelIDValues enum.

HueSaturationRaw.ChannelIDValues.MASTER
HueSaturationRaw.ChannelIDValues.REDS
HueSaturationRaw.ChannelIDValues.YELLOWS
HueSaturationRaw.ChannelIDValues.GREENS
HueSaturationRaw.ChannelIDValues.CYANS
HueSaturationRaw.ChannelIDValues.BLUES
HueSaturationRaw.ChannelIDValues.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

HueSaturationRaw Class