Skip to content

Glossary: SwiftUI

Shapes (Circle, RoundedRectangle)

Also written: Circle, RoundedRectangle, fill

Views that draw a shape as large as the space they are offered, painted with `.fill`. Give them a `.frame` and usually layer them in a ZStack behind text or a symbol.

Where the book teaches it

Related terms

ZStack.frame