CogVertexChangedEventArgs ClassCognex VisionPro 9.8
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 Object
  System EventArgs
    Cognex.VisionPro CogVertexChangedEventArgs

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.1.0.0
Syntax

public class CogVertexChangedEventArgs : EventArgs

The CogVertexChangedEventArgs type exposes the following members.

Constructors

  NameDescription
Public methodCogVertexChangedEventArgs
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.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
Properties

  NameDescription
Public propertyIndex
The index of the changed vertex. In the range of zero to one less than the number of vertices in the CogPolygon.
Public propertyNewX
The new x-coordinate.
Public propertyNewY
The new y-coordinate.
Top
See Also