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

Rectangle() public static method

Draw rectangle on the specified image.
The source image has incorrect pixel format.
public static Rectangle ( 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 draw.
color Color Rectangle's color.
return void
        public static void Rectangle(BitmapData imageData, Rectangle rectangle, Color color)
        {
            Rectangle(new UnmanagedImage(imageData), rectangle, color);
        }

Same methods

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