Initializes a new instance of the CanvasCrop class.

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

Syntax

C#
public CanvasCrop(
	Rectangle region,
	byte fillColorGray
)

Parameters

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

See Also