Table of Contents

Property LightnessDelta

Namespace
PaintDotNet.Effects.Gpu
Assembly
PaintDotNet.Effects.Gpu.dll

LightnessDelta

Specifies the amount to change each pixel's lightness by. The range for lightness is [0, 1], so the range of this property is [-1.0f, +1.0f]. This corresponds to the UI's range of [-100, +100].
A value of -1 will produce a completely black image, while a value of +1 will produce a completely white image.
Results will be clamped to a valid range.
The default value is 0.
Note that this "lightness" does not operate in exactly the same way as "lightness" in HSL does. It is a simple linear interpolation between black and white.

public EffectPropertyAccessor<float> LightnessDelta { get; }

Property Value

EffectPropertyAccessor<float>