Sets StartX, StartY, Length and Rotation (in radians, from the x-axis) for the line segment.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 87.0.0.0
Syntax
Parameters
- startX
- Type: System Double
X-coordinate of the start point.
- startY
- Type: System Double
Y-coordinate of the start point.
- length
- Type: System Double
Length of the line segment.
- rotation
- Type: System Double
Rotation of the line segment.
Events
| Event Type | Reason |
|---|---|
| CogLineSegment Changed | Fires when the value of this property changes. The following state flags may be affected: |
Remarks
Sets StartX, StartY, Length and Rotation (from the x-axis) for the line segment.
See Also