PaintCode supports shadows for fills, strokes and text. For fill and text, it also supports inner shadows. Both are very useful for simulating plasticity in your drawings. Shadows depend on the color they use. If such color is adjusted, the derived shadow is updated accordingly.

Using a shadow

To use a shadow, click & drag the shadow's connection dot onto a shape on the canvas.

Setting a shadow with connection

Alternatively, you can select a shadow from a shadow popup button in the Inspector.

Setting a shadow

These menus are automatically populated with shadows from your Library. Note that shadows for fill and stroke are set separately. Fill and text also supports inner shadows.

Adding a new shadow

There are 2 basic ways of adding a new shadow:

After adding a new shadow, a shadow editing popover appears. More about editing a shadow can be found in the following section.

(Note that you can also add shadows by copying and pasting shapes that use shadows from another document)

Editing a shadow

You can edit a shadow by double-clicking on it in the Library. Alternatively, you can reselect the same shadow in the Inspector popup button to show the edit color popover.

Editing a shadow

The text field contains the name of the shadow. PaintCode generates all names for you, but you can always change them to be more descriptive.

To change the color of the shadow, select a color from the popup button menu. A few tips:

Glow Shadow Inset Shadow Plastic Shadow Cutout Shadow