Crop to Shape
Crops it to a shape, like a circle or capsule, hiding anything outside.
Group: Graphics and rendering · Works on: Every view
#Add it
Select the view, open the Inspector's Style tab, open All modifiers at the bottom and tap Add modifier. Search for “Crop to Shape” and tap it. Its row opens under All modifiers, with its settings.
#Settings
| Setting | What it does |
|---|---|
| Shape | The shape to crop to, like Capsule (a pill), Circle or Ellipse. Button Border, Text Input Border and Role aren't drawn yet and crop to a rectangle. |
#Change, move or remove it
Tap the modifier's row under All modifiers to open or close its settings. Its ⋯ menu has Move Up, Move Down and Remove.
Order matters: modifiers apply top to bottom, so padding before a background makes the background bigger.