Sets CenterX, CenterY, Radius, AngleStart (in radians) and AngleSpan (in radians) of this circular arc.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
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.
- radius
- Type: System Double
The radius 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.)
Events
| Event Type | Reason |
|---|---|
| CogCircularArc Changed | Fires when the shape changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radius <= 0.0 |
| ArgumentException | angleSpan = 0.0 |
Remarks
Sets the CenterX, CenterY, Radius, AngleStart and AngleSpan of this circular arc.
See Also