Search
InternalUtils.GetRoundRect Method
See Also
 





Creates a graphics path of a rounded rectangle with the specified dimensions and round radius.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static GraphicsPath GetRoundRect (
    float x,
    float y,
    float width,
    float height,
    float r
)

Visual Basic  Copy Code

Public Shared Function GetRoundRect( _
    x As Single, _
    y As Single, _
    width As Single, _
    height As Single, _
    r As Single _
) As GraphicsPath

 Parameters

x
The x-coordinate of the top-left corner of the rectangle.
y

The y-coordinate of the top-left corner of the rectangle.

width

The width of the rectangle.

height

The height of the rectangle.

r

The radius of the rectangle corners.

 Return Value

 Remarks

This method supports the MindFusion.Diagramming infrastructure and is not intended to be used directly from your code.

 See Also