---
title: NSBezierPath.WindingRule.evenOdd
framework: AppKit
role: symbol
role_heading: Case
path: appkit/nsbezierpath/windingrule-swift.enum/evenodd
---

# NSBezierPath.WindingRule.evenOdd

Specifies the even-odd winding rule.

## Declaration

```swift
case evenOdd
```

## Discussion

Discussion Count the total number of path crossings. If the number of crossings is even, the point is outside the path. If the number of crossings is odd, the point is inside the path and the region that contains it is filled.

## See Also

### Constants

- [NSBezierPath.WindingRule.nonZero](appkit/nsbezierpath/windingrule-swift.enum/nonzero.md)
