Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, and AngleSpan of this elliptical arc. All angles are in radians.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
Syntax
Parameters
- centerX
- Type: System Double
The x-coordinate of the center of the arc.
- centerY
- Type: System Double
The y-coordinate of the center of the arc.
- radiusX
- Type: System Double
The distance from the center of the underlying ellipse to its boundary along the x-axis.
- radiusY
- Type: System Double
The distance from the center of the underlying ellipse to its boundary along the y-axis.
- rotation
- Type: System Double
The Rotation of the arc.
- angleStart
- Type: System Double
The AngleStart of the arc.
- angleSpan
- Type: System Double
The AngleSpan of the arc. (The default value for this parameter is actually π/2.)
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radiusX <= 0.0 or radiusY <= 0.0 |
| ArgumentException | angleSpan = 0.0 |
Remarks
Changed Raised when one or more properties change.
Remarks
Sets CenterX, CenterY, RadiusX, RadiusY, Rotation, AngleStart, and AngleSpan of this elliptical arc.
See Also