<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreText",
  "identifier" : "/documentation/CoreText/CTFramePathFillRule",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Core Text"
    ],
    "preciseIdentifier" : "c:@E@CTFramePathFillRule"
  },
  "title" : "CTFramePathFillRule"
}
-->

# CTFramePathFillRule

These constants specify the fill rule used by a frame

```
enum CTFramePathFillRule
```

## Overview

When a path intersects with itself, the client should specify which rule to use for deciding the area of the path.

## Topics

### Enumeration Cases

[`CTFramePathFillRule.evenOdd`](/documentation/CoreText/CTFramePathFillRule/evenOdd)

Paints the area using the even-odd fill rule.

[`CTFramePathFillRule.windingNumber`](/documentation/CoreText/CTFramePathFillRule/windingNumber)

Paints the area using the nonzero winding number rule.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)