Click or drag to resize
Accord.NET (logo)

CanvasCrop Constructor (Rectangle, Byte)

Initializes a new instance of the CanvasCrop class.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public CanvasCrop(
	Rectangle region,
	byte fillColorGray
)
Request Example View Source

Parameters

region
Type: System.DrawingRectangle
Region to keep.
fillColorGray
Type: SystemByte
Gray color to use for filling areas outside of specified region in grayscale images.
See Also