Fill areas iniside of the specified region.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.1.4.0 (2.1.4.0)
Syntax
| C# |
|---|
public class CanvasFill : BaseInPlaceFilter |
Remarks
The filter fills areas inside of specified region using the specified color.
The filter accepts 8bpp grayscale and 24/32 bpp color images for processing.
Sample usage:
// create filter CanvasFill filter = new CanvasFill( new Rectangle( 5, 5, image.Width - 10, image.Height - 10 ), Color.Red ); // apply the filter filter.ApplyInPlace( image );
Inheritance Hierarchy
System..::.Object
AForge.Imaging.Filters..::.BaseInPlaceFilter
AForge.Imaging.Filters..::.CanvasFill
AForge.Imaging.Filters..::.BaseInPlaceFilter
AForge.Imaging.Filters..::.CanvasFill