VertexChangedEventArgs ClassCognex VisionPro 9.21

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.

Inheritance Hierarchy

System Object
  System EventArgs
    Cognex.Vision EventArgs
      Cognex.Vision VertexChangedEventArgs

Namespace: Cognex.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public sealed class VertexChangedEventArgs : EventArgs, 
	IObject

The VertexChangedEventArgs type exposes the following members.

Constructors

  NameDescription
Public methodVertexChangedEventArgs

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.

Top
Methods

  NameDescription
Public methodEquals
Compares the equality of this object with another.
(Overrides EventArgs Equals(Object).)
Public methodGetHashCode
Returns the hash code of this object.
(Overrides EventArgs GetHashCode .)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString

Returns a human readable string that represents the object.

(Overrides Object ToString .)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares the equality of two VertexChangedEventArgs objects.
Public operatorStatic memberInequality
Compares the inequality of two VertexChangedEventArgs objects.
Top
Properties

  NameDescription
Public propertyHandle (Overrides EventArgs Handle.)
Public propertyIndex

The index of the changed vertex. In the range of zero to one less than the number of vertices in the Polygon.

Public propertyNewX

The new x-coordinate.

Public propertyNewY

The new y-coordinate.

Top
See Also