---
title: "init(eoFill:antialiased:)"
framework: swiftui
role: symbol
role_heading: Initializer
path: "swiftui/fillstyle/init(eofill:antialiased:)"
---

# init(eoFill:antialiased:)

Creates a new fill style with the specified settings.

## Declaration

```swift
init(eoFill: Bool = false, antialiased: Bool = true)
```

## Parameters

- `eoFill`: A Boolean value that indicates whether to use the even-odd rule for rendering a shape. Pass false to use the non-zero winding number rule instead.
- `antialiased`: A Boolean value that indicates whether to use antialiasing when rendering the edges of a shape.
