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,
	Color fillColorRGB
)

Parameters

region
Type: System.Drawing..::.Rectangle
Region to fill.
fillColorRGB
Type: System.Drawing..::.Color
RGB color to use for filling areas inside of specified region in color images.

See Also