This class holds data provided by the VertexChanged event. The VertexChanged event fires in addition to the standard Changed event 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 SetVertex() methods. It also may occur if the vertex position is manipulated interactively in a display.
Inheritance Hierarchy
System EventArgs
Cognex.VisionPro CogVertexChangedEventArgs
Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax
The CogVertexChangedEventArgs type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CogVertexChangedEventArgs | Construct the CogVertexChangedEventArgs 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. |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| Index | The index of the changed vertex. In the range of zero to one less than the number of vertices in the CogPolygon. | |
| NewX | The new x-coordinate. | |
| NewY | The new y-coordinate. |
See Also