Construct the VertexRemovedEventArgs object with the supplied index and new number of vertices. When the VertexRemovedEvent has been caused by setting NumVertices to a value less than the existing number of vertices, the index will be -1 (i.e. removed from the end of the list of vertices).
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.10.0.0
Syntax
Parameters
- index
- Type: System Int32
The index of the removed vertex. -1 means that vertices were removed at the end until the number of vertices equaled newNumVertices.
- newNumVertices
- Type: System Int32
The new number of vertices in the Polygon.
See Also