<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/FillStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI9FillStyleV"
  },
  "title" : "FillStyle"
}
-->

# FillStyle

A style for rasterizing vector shapes.

```
@frozen struct FillStyle
```

## Topics

### Creating a fill style

[`init(eoFill:antialiased:)`](/documentation/SwiftUI/FillStyle/init(eoFill:antialiased:))

Creates a new fill style with the specified settings.

### Setting fill style properties

[`isEOFilled`](/documentation/SwiftUI/FillStyle/isEOFilled)

A Boolean value that indicates whether to use the even-odd rule when
rendering a shape.

[`isAntialiased`](/documentation/SwiftUI/FillStyle/isAntialiased)

A Boolean value that indicates whether to apply antialiasing to the
edges of a shape.



---

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)