Search
RoundRectangleTemplate Constructor (Double, Double, Double, Double, Double, Color, DashStyle, Double)
See Also
 






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

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public RoundRectangleTemplate (
    double x,
    double y,
    double w,
    double h,
    double r,
    Color color,
    DashStyle dashStyle,
    double width
)

Visual Basic  Copy Code

Public New ( _
    x As Double, _
    y As Double, _
    w As Double, _
    h As Double, _
    r As Double, _
    color As Color, _
    dashStyle As DashStyle, _
    width As Double _
)

 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.

color

The color of this segment.

dashStyle

The dash style of this segment.

width

The width of this segment.

 See Also