CogPolygon VertexAdornment Property Cognex VisionPro
The adornment shape to be rendered for each vertex.

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

public CogPolygonVertexAdornmentConstants VertexAdornment { get; set; }

Property Value

Type: CogPolygonVertexAdornmentConstants
Events

Event TypeReason
CogPolygon Changed

Fires when the vertex adornment changes.

The following state flag may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    The new value is not in CogPolygonVertexAdornmentConstants.

    Remarks

    The adornment shape to be rendered for all vertices. You can use SetVertexAdornmentColor(Int32, CogPolygonVertexColorConstants) to hide or to change the color of the adornment for each vertex.

    Default Value: None

    See Also