InterleavedGradientNoiseDitherer(AutoStrengthMode) Constructor

Initializes a new instance of the RandomNoiseDitherer class with a specific auto strength strategy.

Definition

Namespace: KGySoft.Drawing.Imaging
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 8.2.0
C#
public InterleavedGradientNoiseDitherer(
	AutoStrengthMode autoStrengthMode
)

Parameters

autoStrengthMode  AutoStrengthMode
An AutoStrengthMode value specifying the desired behavior for calibrating auto strength.
See the Remarks section of the OrderedDitherer.ConfigureStrength method for more details and some examples regarding dithering strength. The same applies also for the InterleavedGradientNoiseDitherer class.

Exceptions

ArgumentOutOfRangeExceptionautoStrengthMode is not one of the defined values.

See Also