CogPolygon PropertiesCognex VisionPro 9.7

The CogPolygon type exposes the following members.

Properties

  NameDescription
Public propertyArea
Area of the enclosed region, in units consistent with the SelectedSpaceName. Zero if there are fewer than 3 vertices.
Public propertyChangedEventSuspended
If nonzero, indicates that the raising of the Changed event has been suspended. This value is incremented when SuspendChangedEvent is called and decremented when ResumeAndRaiseChangedEvent is called.
Public propertyChildren
Children of this graphic.
Public propertyColor
Color of this graphic. Can be any OLE_COLOR.
Public propertyComplex
True if any segments are intersecting, otherwise False.
Public propertyConvex
True if the polygon is identical to the convex hull of its vertices, otherwise False.
Public propertyDragColor
Color of this graphic when dragged.
Public propertyDragLineStyle
Line style of this graphic when dragged.
Public propertyDragLineWidthInScreenPixels
Line width of this graphic when dragged.
Public propertyFillMode
The algorithm to be used to distinguish inside from outside.
Public propertyGraphicDOFEnable
Interactive Degree of freedom for this graphic object. Provides the ability to govern interactive manipulation of an object; for example could be used to prevent an object from being resized.
Public propertyGraphicDOFEnableBase
Interactive Degree of freedom for a graphic object. Allows access to each graphic's GraphicDOFEnable property without knowing the specific graphic type.
Public propertyHasChanged
If true, the serializable state of this object has changed since the last time it was serialized.
Public propertyHighlightColor
Get or set the color of the vertex highlight.
Public propertyHighlightIndex
Get or set the index of the vertex to be highlighted. If set to -1, no vertex highlighting will occur.
Public propertyHighlightRequested
If greater than zero, vertex highlighting is enabled.
Public propertyInteractive
Interactive property allow this graphic object to be selected. See GraphicDOFEnable for information on governing interactive manipulation of an object.
Public propertyLineStyle
Line style of this graphic.
Public propertyLineWidthInScreenPixels
Line width (in screen pixels) of this graphic.
Public propertyMouseCursor
Mouse cursor to be displayed when the mouse is over the graphic. The cursor will be visible only if the graphic is interactive.
Public propertyNumVertices
Number of vertices in this polygon.
Public propertyParent
Parent of this graphic.
Public propertyPerimeter
Perimeter of the polygon, in units consistent with the SelectedSpaceName. Zero if there are fewer than 2 vertices.
Public propertySelected
True when the shape is selected in a display.
Public propertySelectedColor
Color of this graphic when selected.
Public propertySelectedLineStyle
Line style of this graphic when selected.
Public propertySelectedLineWidthInScreenPixels
Line width of this graphic when selected.
Public propertySelectedSpaceName
Coordinate space in which this shape is to be interpreted.
Public propertyTipText
Text to describe this graphic in a tool tip.
Public propertyVertexAdornment
The adornment shape to be rendered for each vertex.
Public propertyVertexCapacity
The maximum number of vertices that may be held by this polygon without reallocating storage.
Public propertyVisible
Visible property of this graphic.
Top
See Also