MindFusion.Wpf Pack Programmer's Guide
InternalUtils.ApproxEllipse Method
See Also
 





Approximates the ellipse contained in the specified rectanlge with a polyline. The specified quality parameter varies in the interval [1, ...) and is proportional to the number of points in the resulting polyline.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public static PointCollection ApproxEllipse (
    Rect rect,
    int quality
)

Visual Basic  Copy Code

Public Shared Function ApproxEllipse( _
    rect As Rect, _
    quality As Integer _
) As PointCollection

 Parameters

rect

A Rect instance, which defines the source ellipse.

quality

The quality of the produced approximation.

 Return Value

An instance of the PointCollection class containing the points of the calculated approximation.

 Remarks

This method supports the Diagramming for WPF infrastructure and is not intended to be used directly from your code.

 See Also

InternalUtils Members
InternalUtils Class
MindFusion.Diagramming.Wpf Namespace