This class holds data provided by the VertexChanged. The VertexChanged is raised in addition to the standard Changed after the x-coordinate, y-coordinate, or both have changed for a single vertex. The change may occur as a result of calling a Polygon's SetVertexX, SetVertexY, or SetVetex methods. It also may occur if the vertex position is manipulated interactively in a display.
System EventArgs
Cognex.Vision EventArgs
Cognex.Vision VertexChangedEventArgs
Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.24.0.0
The VertexChangedEventArgs type exposes the following members.
| Name | Description | |
|---|---|---|
| VertexChangedEventArgs | Construct the VertexChangedEventArgs object with the supplied index, x-coordinate, and y-coordinate. The x-coordinate and y-coordinate values reflect those of the specified vertex after the change has been made. |
| Name | Description | |
|---|---|---|
| Equals | Compares the equality of this object with another. (Overrides EventArgs Equals(Object).) | |
| GetHashCode | Returns the hash code of this object. (Overrides EventArgs GetHashCode .) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| ToString | Returns a human readable string that represents the object. |
| Name | Description | |
|---|---|---|
| Equality | Compares the equality of two VertexChangedEventArgs objects. | |
| Inequality | Compares the inequality of two VertexChangedEventArgs objects. |
| Name | Description | |
|---|---|---|
| Handle | (Overrides EventArgs Handle.) | |
| Index | The index of the changed vertex. In the range of zero to one less than the number of vertices in the Polygon. | |
| NewX | The new x-coordinate. | |
| NewY | The new y-coordinate. |