DrawingOptionsQuantizer Property

Gets or sets an IQuantizer instance to use when drawing shapes.
Default value: .
See the Examples section of the Ditherer property for an example.

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 9.0.0
C#
public IQuantizer? Quantizer { get; set; }

Property Value

IQuantizer

Remarks

Setting a quantizer allows using fewer colors than the target IReadWriteBitmapData supports. Even when this property is , the colors are automatically quantized to the target's supported color range.

See Also