DiagramLite Programmer's Guide
Utilities.ApproxRoundRect Method (Rect, 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 (
    Rect rect,
    double r
)

Visual Basic  Copy Code

Public Shared Function ApproxRoundRect( _
    rect As Rect, _
    r As Double _
) As List(Of Point)

 Parameters

rect
A Rect instance specifying the rectangle's position and size.
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