Table of Contents

Method DrawRoundedRectangle

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

DrawRoundedRectangle(Pen, RectD, float)

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

void DrawRoundedRectangle(Pen pen, RectD rect, float 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 float

The corner radius of the rectangle.