Accord.Imaging.Drawing.FillRectangle C# (CSharp) Method

FillRectangle() public static method

Fill rectangle on the specified image.
The source image has incorrect pixel format.
public static FillRectangle ( BitmapData imageData, Rectangle rectangle, Color color ) : void
imageData System.Drawing.Imaging.BitmapData Source image data to draw on.
rectangle System.Drawing.Rectangle Rectangle's coordinates to fill.
color Color Rectangle's color.
return void
        public static void FillRectangle(BitmapData imageData, Rectangle rectangle, Color color)
        {
            FillRectangle(new UnmanagedImage(imageData), rectangle, color);
        }

Same methods

Drawing::FillRectangle ( UnmanagedImage image, Rectangle rectangle, Color color ) : void