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
C# 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.
This method supports the WpfDiagram infrastructure and is not intended to be used directly from your code.
WpfDiagram Programmer's Guide | © 2024 MindFusion |