Creates a transient 2D ellipse by specifying a center position, major and minor axes, and major and minor radii.
This is a static method.
|
This is a static method.
|
Type | Description |
Ellipse2D | Returns the new Ellipse 2D object or null if the creation failed. |
Name | Type | Description |
center | Point2D | A Point2D object that defines the center of the ellipse. |
majorAxis | Vector2D | The major axis of the ellipse |
majorRadius | double | The major radius of the of the ellipse. |
minorRadius | double | The minor radius of the of the ellipse. |