DiagramLite Programmer's Guide
Utilities.ApproxArc Method
See Also
 





Approximates an arc by a series of line segments.

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

 Syntax

C#  Copy Code

public static List<Point> ApproxArc (
    Point tl,
    Point br,
    double a,
    double s
)

Visual Basic  Copy Code

Public Shared Function ApproxArc( _
    tl As Point, _
    br As Point, _
    a As Double, _
    s As Double _
) As List(Of Point)

 Parameters

tl
A System.Windows.Point specifying the top-left position of the rectangle that bounds the arc's ellipse.
br
A System.Windows.Point specifying the top-left position of the rectangle that bounds the arc's ellipse.
a
The arc's start angle.
s
The arc's sweep angle.

 Return Value

A list of points that approximate the arc as series of straight line segments.

 See Also

Utilities Members
Utilities Class
MindFusion.Diagramming Namespace