DiagramLite Programmer's Guide
Utilities.ApproxRoundRect Method (Double, Double, Double, Double, Double)
See Also
 





Approximates a rounded rectangle by a series of line segments.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming.Silverlight

 Syntax

C#  Copy Code

public static List<Point> ApproxRoundRect (
    double x,
    double y,
    double width,
    double height,
    double r
)

Visual Basic  Copy Code

Public Shared Function ApproxRoundRect( _
    x As Double, _
    y As Double, _
    width As Double, _
    height As Double, _
    r As Double _
) As List(Of Point)

 Parameters

x
The rectangle's horizontal position.
y
The rectangle's vertical position.
width
The rectangle's width.
height
The rectangle's height.
r
Radius of arcs drawn at the rectangle's corners.

 Return Value

A list of points that approximate the rounded rectangle as a series of straight line segments.

 See Also

ApproxRoundRect Method Overload List
Utilities Members
Utilities Class
MindFusion.Diagramming Namespace