---
title: ShapeRole.fill
framework: swiftui
role: symbol
role_heading: Case
path: swiftui/shaperole/fill
---

# ShapeRole.fill

Indicates to the shape’s style that SwiftUI fills the shape.

## Declaration

```swift
case fill
```

## See Also

### Getting shape roles

- [ShapeRole.stroke](swiftui/shaperole/stroke.md)
- [ShapeRole.separator](swiftui/shaperole/separator.md)
