|
![]() |
Renders a 2D axis-aligned ellipse in the XY plane at the current Z depth.
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Sub Ellipse ( _ centre As Point2D, _ xRadius As Double, _ yRadius As Double, _ filled As Boolean _ ) |
C# |
---|
public void Ellipse( Point2D centre, double xRadius, double yRadius, bool filled ) |
Visual C++ |
---|
public: void Ellipse( Point2D^ centre, double xRadius, double yRadius, bool filled ) |
Parameters
- centre
- Type: Autodesk.Navisworks.Api..::..Point2D
Centre point of the ellipse.
- xRadius
- Type: System..::..Double
Length of X radius.
- yRadius
- Type: System..::..Double
Length of Y radius.
- filled
- Type: System..::..Boolean
Should the ellipse be filled in or an outline.
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | Object has been Disposed |
System..::..NotSupportedException | Object is Read-Only |
System..::..ArgumentNullException | Argument 'centre' is null |
System..::..ArgumentException | Argument 'centre' has been Disposed |