Initializes a new instance of the CanvasCrop class.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
Parameters
- region
- Type: System.Drawing..::.Rectangle
Region to keep.
- fillColorRGB
- Type: System.Drawing..::.Color
RGB color to use for filling areas outside of specified region in color images.
- fillColorGray
- Type: System..::.Byte
Gray color to use for filling areas outside of specified region in grayscale images.