ASP.NET Pack Programmer's Guide
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
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static PointCollection ApproxEllipse (
    RectangleF rect,
    int quality
)

Visual Basic  Copy Code

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

 Parameters

rect

A RectangleF 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 WebForms infrastructure and is not intended to be used directly from your code.

 See Also

InternalUtils Members
InternalUtils Class
MindFusion.Diagramming Namespace