Returns/sets the aspect of this transform. Aspect is the ratio of scaling along the y axis over scaling along the x axis. When aspect is set the rotation, skew, and scaling remain unchanged.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax
Property Value
Type: DoubleEvents
| Event Type | Reason |
|---|---|
| CogTransform2DLinear Changed | Fires when the aspect changes. The following state flags may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The new aspect value is zero. |
Remarks
Sets or gets the aspect of this transformation object. Aspect is the ratio of scaling along the y-axis over scaling along the x-axis. It is represented by the symbol A in the standard transformation matrix.
When Aspect is set, the Rotation, skew, and Scaling remain unchanged.
Notice that if the aspect equals one, then Scaling, ScalingX, and ScalingY are equal.
Default Value: 1
See Also