---
title: fillStyle
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/fillshapeview/fillstyle
---

# fillStyle

The fill style used when filling this view’s shape.

## Declaration

```swift
nonisolated var fillStyle: FillStyle { get set }
```

## See Also

### Getting shape view properties

- [background](swiftui/fillshapeview/background.md)
- [shape](swiftui/fillshapeview/shape.md)
- [style](swiftui/fillshapeview/style.md)
