Sets coordinates StartX, StartY, EndX, EndY for the line segment.
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.1.1
Syntax
Parameters
- startX
- Type: System Double
X-coordinate of the start point.
- startY
- Type: System Double
Y-coordinate of the start point.
- endX
- Type: System Double
X-coordinate of the end point.
- endY
- Type: System Double
Y-coordinate of the end point.
Exceptions
| Exception | Condition |
|---|---|
| ShapeException | Start and endpoint coordinates must be different. |
Remarks
Changed Raised when the value of this property changes.
See Also