PadCodedocs

Shadow

A soft shadow behind it, so it looks raised.

Shadow added to a view, with its row open under All modifiers.

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 “Shadow” and tap it. Its row opens under All modifiers, with its settings.

#Settings

SettingWhat it does
ColorThe shadow's color. Empty uses a soft see-through black.
RadiusHow soft and spread out it is, in points, like 8. 0 gives a hard edge.
XMoves the shadow right, in points. Negative numbers move it left.
YMoves the shadow down, in points, like 4. Negative numbers move it up.

#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.

#See also