Table of Contents

Method DrawRectangle

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

DrawRectangle(Rectangle)

Draws a border around the specified rectangle using current BackColor.

public virtual void DrawRectangle(Rectangle rect)

Parameters

rect Rectangle

The rectangle object to draw border.

DrawRectangle(int, int, int, int)

Draws a border around the specified rectangle using current BackColor.

public virtual void DrawRectangle(int x, int y, int width, int height)

Parameters

x int

X-coordinate of the upper-left corner of the rectangle.

y int

Y-coordinate of the upper-left corner of the rectangle.

width int

Width of the rectangle.

height int

Height of the rectangle.