Initializes a new instance of the CanvasFill class.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public CanvasFill(
	Rectangle region,
	byte fillColorGray
)

Parameters

region
Type: System.Drawing..::.Rectangle
Region to fill.
fillColorGray
Type: System..::.Byte
Gray color to use for filling areas inside of specified region in grayscale images.

See Also