Table of Contents

Property Gamma

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

Gamma

Specifies the exponent applied to the ink demand. The range is [0.25, 4] and the default value is 1, which is an identity.

public EffectPropertyAccessor<float> Gamma { get; }

Property Value

EffectPropertyAccessor<float>

Remarks

The inked fraction of a line period is saturate(0.5 + (1 - lightness - 0.5) * Contrast) ^ Gamma, and the line's half width is half of that, in units of the period - so a fraction of 1 exactly closes the lattice into solid ink and a fraction of 0 leaves bare paper. Values above 1 thin the lines and open the midtones out; values below 1 fatten them.