Polygon FillMode Property Cognex VisionPro 9.22 SR1
Get

The algorithm to be used to distinguish inside from outside.

Set

Sets FillMode.

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

public PolygonFillConstants FillMode { get; set; }

Property Value

Type: PolygonFillConstants
Default Value: EvenOdd
Exceptions

ExceptionCondition
ArgumentExceptionThe fill mode is not in PolygonFillConstants.
Remarks

Gets the algorithm used to distinguish between the inside and outside of the polygon. FillMode affects the way that IShape.DistanceToPoint() determines which points lie within a polygon.

Remarks

Changed Raised when the value of this property changes.

See Also