PolygonToolsCreateEllipse Method |
Creates a ellipse with the specified width, height and number of edges.
Namespace:
Internal.tainicom.Aether.Physics2D.Common
Assembly:
NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax public static Vertices CreateEllipse(
float xRadius,
float yRadius,
int numberOfEdges
)
Parameters
- xRadius
- Type: SystemSingle
Width of the ellipse. - yRadius
- Type: SystemSingle
Height of the ellipse. - numberOfEdges
- Type: SystemInt32
The number of edges. The more edges, the more it resembles an ellipse
Return Value
Type:
VerticesSee Also