CogEllipse SetCenterXYRadiusXYRotation Method Cognex VisionPro
Sets the named properties in a single method call.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public void SetCenterXYRadiusXYRotation(
	double centerX,
	double centerY,
	double radiusX,
	double radiusY,
	double rotation
)
Events

Event TypeReason
CogEllipse Changed

Fires when the value of this property changes.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    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