AForge.Imaging.Filters.CanvasCrop.CanvasCrop C# (CSharp) Метод

CanvasCrop() публичный Метод

Initializes a new instance of the CanvasCrop class.
public CanvasCrop ( Rectangle region, Color fillColorRGB, byte fillColorGray ) : System.Drawing
region System.Drawing.Rectangle Region to keep.
fillColorRGB System.Drawing.Color RGB color to use for filling areas outside of specified region in color images.
fillColorGray byte Gray color to use for filling areas outside of specified region in grayscale images.
Результат System.Drawing
        public CanvasCrop( Rectangle region, Color fillColorRGB, byte fillColorGray )
            : this( )
        {
            this.region    = region;
            this.fillRed   = fillColorRGB.R;
            this.fillGreen = fillColorRGB.G;
            this.fillBlue  = fillColorRGB.B;
            this.fillGray  = fillColorGray;
        }

Same methods

CanvasCrop::CanvasCrop ( ) : System.Drawing
CanvasCrop::CanvasCrop ( Rectangle region ) : System.Drawing
CanvasCrop::CanvasCrop ( Rectangle region, Color fillColorRGB ) : System.Drawing
CanvasCrop::CanvasCrop ( Rectangle region, byte fillColorGray ) : System.Drawing