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
SyntaxC#
Copy Code
|
|---|
public static PointCollection ApproxEllipse ( |
Visual Basic
Copy Code
|
|---|
Public Shared Function ApproxEllipse( _ |
A Rect instance, which defines the source ellipse.
The quality of the produced approximation.
An instance of the PointCollection class containing the points of the calculated approximation.
RemarksThis method supports the WpfDiagram infrastructure and is not intended to be used directly from your code.
See Also