Click or drag to resize
Accord.NET (logo)

CanvasCrop Constructor (Rectangle, Color)

Initializes a new instance of the CanvasCrop class.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.6.0
Syntax
public CanvasCrop(
	Rectangle region,
	Color fillColorRgb
)
Request Example View Source

Parameters

region
Type: System.DrawingRectangle
Region to keep.
fillColorRgb
Type: System.DrawingColor
RGB color to use for filling areas outside of specified region in color images.
See Also