Table of Contents

Method DrawRoundRectangle

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

DrawRoundRectangle(int, int, int, int, int, int)

When implemented by a class, draws a rectangle with rounded corners. The rectangle is outlined by using the current pen.

void DrawRoundRectangle(int left, int top, int right, int bottom, int width, int height)

Parameters

left int

Specifies the x-coordinate, in logical coordinates, of the upper-left corner of the rectangle.

top int

Specifies the y-coordinate, in logical coordinates, of the upper-left corner of the rectangle.

right int

Specifies the x-coordinate, in logical coordinates, of the lower-right corner of the rectangle.

bottom int

Specifies the y-coordinate, in logical coordinates, of the lower-right corner of the rectangle.

width int

Specifies the width, in logical coordinates, of the ellipse used to draw the rounded corners.

height int

Specifies the height, in logical coordinates, of the ellipse used to draw the rounded corners.