Search
RoundRectangleTemplate Constructor (Single, Single, Single, Single, Single)
See Also
 





Initializes a new instance of the RoundRectangleTemplate class with the specified settings.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public RoundRectangleTemplate (
    float x,
    float y,
    float w,
    float h,
    float r
)

Visual Basic  Copy Code

Public New ( _
    x As Single, _
    y As Single, _
    w As Single, _
    h As Single, _
    r As Single _
)

 Parameters

x
The x-coordinate of the top-left corner of the rectangle, expressed in percents of a shape node's bounding rectangle.
y

The y-coordinate of the top-left corner of the rectangle, expressed in percents of a shape node's bounding rectangle.

w
The width of the rectangle, expressed in percents of a shape node's bounding rectangle.
h

The height of the rectangle, expressed in percents of a shape node's bounding rectangle.

r

The round radius of the rectangle.

 See Also