Sets the named properties in a single method call.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 69.0.0.0
Syntax
Parameters
- centerX
- Type: System Double
The x-coordinate of the ellipse.
- centerY
- Type: System Double
The y-coordinate of the ellipse
- radiusX
- Type: System Double
The x-radius of this ellipse
- radiusY
- Type: System Double
The y-radius of this ellipse
- rotation
- Type: System Double
The rotation angle of this ellipse.
Events
| Event Type | Reason |
|---|---|
| CogEllipse Changed | Fires when the value of this property changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | radiusX is <= 0 or radiusY is <= 0. |
Remarks
Sets the x- and y-coordinates of the center, the x- and y-radii, and the rotation of this ellipse.
See Also