Search
InternalUtils.ApproxEllipse Method
See Also
 






Approximates the ellipse contained in the specified rectangle 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
Assembly: MindFusion.Diagramming

 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 Rectangle 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 MindFusion.Diagramming for .NET MAUI infrastructure and is not intended to be used directly from your code.

 See Also