Move canvas to the specified point.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public class CanvasMove : BaseInPlaceFilter |
Remarks
The filter moves canvas to the specified area filling unused empty areas with specified color.
The filter accepts 8/16 bpp grayscale images and 24/32/48/64 bpp color image for processing.
Sample usage:
// create filter CanvasMove filter = new CanvasMove( new IntPoint( -50, -50 ), Color.Green ); // apply the filter filter.ApplyInPlace( image );
Initial image:
Result image:
Inheritance Hierarchy
System..::.Object
AForge.Imaging.Filters..::.BaseInPlaceFilter
AForge.Imaging.Filters..::.CanvasMove
AForge.Imaging.Filters..::.BaseInPlaceFilter
AForge.Imaging.Filters..::.CanvasMove