The algorithm to be used to distinguish inside from outside.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 79.0.0.0
Syntax
Property Value
Type: CogPolygonFillConstantsEvents
| Event Type | Reason |
|---|---|
| CogPolygon Changed | Fires when the fill mode of the polygon changes. The following state flag may be affected: |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentException | The fill mode is not in CogPolygonFillConstants. |
Remarks
Sets or gets the algorithm used to distinguish between the inside and outside of the polygon. FillMode affects the way that DistanceToPoint(Double, Double) and CreateRLE(Byte, Byte) determine which points lie within a polygon.
Default Value: EvenOdd
See Also