Search
KeyTemplate.AddRoundRect Method
See Also
 






Create a rounded rectangle.

Namespace: MindFusion.UI.WinForms
Assembly: MindFusion.Keyboard.WinForms

 Syntax

C#  Copy Code

protected static GraphicsPath AddRoundRect (
    Rectangle rect,
    float r,
    GraphicsPath gp
)

Visual Basic  Copy Code

Protected Shared Function AddRoundRect( _
    rect As Rectangle, _
    r As Single, _
    gp As GraphicsPath _
) As GraphicsPath

 Parameters

rect

A Rectangle instance.

r

A float value specifying corner radius.

gp

Target GraphicsPath.

 Return Value

The modified GraphicsPath.

 See Also