Sets CenterX, CenterY, Radius, AngleStart (in radians), AngleSpan (in radians) and RadialScale of the circular annulus section.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- centerX
- Type: System Double
The x-coordinate of the center of this circular annulus section.
- centerY
- Type: System Double
The y-coordinate of the center of this circular annulus section.
- radius
- Type: System Double
The Radius of the annular section.
- angleStart
- Type: System Double
The AngleStart.
- angleSpan
- Type: System Double
The AngleSpan. (The default value for this parameter is actually π/2.)
- radialScale
- Type: System Double
The RadialScale of the annular section.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radius <= 0.0 |
| ArgumentException | angleSpan = 0.0 |
| ArgumentException | radialScale <= 0.0 or radialScale = 1.0 |
Remarks
Changed Raised when the shape changes. The following state flags may be affected:
Remarks
Sets CenterX, CenterY, Radius, AngleStart, AngleSpan and RadialScale of the circular annulus section.
See Also