---
title: evenOdd
framework: quartzcore
role: symbol
role_heading: Type Property
path: quartzcore/cashapelayerfillrule/evenodd
---

# evenOdd

Specifies the even-odd winding rule. 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 containing it should be filled.

## Declaration

```swift
static let evenOdd: CAShapeLayerFillRule
```

## See Also

### Constants

- [nonZero](quartzcore/cashapelayerfillrule/nonzero.md)
