Table of Contents

Method DrawRoundedRectangle

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

DrawRoundedRectangle(Pen, RectD, double)

Draws a rounded rectangle specified by a RectD and a corner radius.

void DrawRoundedRectangle(Pen pen, RectD rect, double cornerRadius)

Parameters

pen Pen

Pen that determines the color, width, and style of the rounded rectangle.

rect RectD

A RectD that represents the rectangle to add.

cornerRadius double

The corner radius of the rectangle.