Table of Contents

Method DrawRectangle

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

DrawRectangle(Rectangle)

When implemented by a class, draws a border around the specified rectangle using current BackColor.

void DrawRectangle(Rectangle rect)

Parameters

rect Rectangle

The rectangle object to draw border.

DrawRectangle(int, int, int, int)

When implemented by a class, draws a border around the specified rectangle using dot pattern.

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.