IDitheringSession Interface

KGy SOFT Drawing Libraries Help
Represents a disposable dithering session returned by the IDitherer.Initialize method that is used to dither the result of a quantizing session for a specific IReadableBitmapData source.

Namespace:  KGySoft.Drawing.Imaging
Assembly:  KGySoft.Drawing (in KGySoft.Drawing.dll) Version: 5.0.0
Syntax

public interface IDitheringSession : IDisposable

The IDitheringSession type exposes the following members.

Properties

  NameDescription
Public propertyIsSequential
Gets whether this ditherer allows only sequential processing (line by line). Even returning  does not guarantee that every pixel will be queried. It just enforces that queried rows are processed sequentially.
Top
Methods

  NameDescription
Public methodGetDitheredColor
Gets the dithered color of the specified origColor that may depend on the specified coordinates. The returned color should be quantized by the IQuantizingSession passed to the IDitherer.Initialize method, which was used to create this IDitheringSession instance.
Top
See Also

Reference