napkin-sketchdocs 1.0.0 GitHub

Layers and the Properties panel#

On this page

At a glance#

The Layers panel#

Layers panel: every new drawn element gets its own layer named after the tool (an empty active layer is reused). The Eraser adds no layer and no mark: it cuts the marks themselves (Eraser). Click a row to make it active and highlight its elements on the canvas; Shift-click to multi-select rows; drag a row to reposition it in the stack, or drop it onto a group row to nest it inside. Rename the active layer with F2, or double-click any row (the right-click menu's Rename does the same) - the row's name turns into a text box with the current name already highlighted, so typing replaces it; Enter or clicking away commits, Esc cancels. F2 opens the panel if it is hidden and unfolds any group the layer is buried in. Deleting an element deletes its layer once the layer is empty, and the Delete button - or the Delete key while no element is selected - removes every selected layer together with its elements.

Layer groups#

Layer groups: Ctrl+G (or the Group button in the Layers panel) groups the selected layers (or the active layer) into one group; press it again on a group to nest. Starting to draw while a group row is selected adds a fresh layer inside that group and puts the stroke there (a toast names the layer), since a group holds no marks of its own. A group's visibility, lock, and opacity apply to every layer inside it, the panel indents grouped layers under a collapsible header (click the caret to expand/collapse), and Ctrl+Shift+G dissolves the active group while keeping its layers. Deleting a group deletes the layers inside it.

Clipping masks#

Clipping masks: select what to clip and, on top of it, the closed path to clip it with, then choose Layers > Clipping Mask > Make (Ctrl+7). The layers the selection is on go into a new group, a Clip Group, and everything in it shows only inside the topmost path, its clipping path, which paints nothing while it clips. The clipping path's layer moves to the top of the group. In the Layers panel the group's row carries a ◘ and the clipping path's row a clip badge, its name underlined in dots.

Blend modes#

New in 1.0.0-alpha.5.0.0.

Napkin Blends: a layer's blend decides how what it paints mixes with what is under it - the layers below it and the paper. Set it for the selected layer rows, or the active layer, with the Blend select under Opacity at the foot of the Layers panel or with Layers > Blend, or step through the list with Shift+Plus and Shift+-. A blended layer's row carries a mark of two circles, with the mode's name in its tooltip.

The sixteen modes are a vector editor's, in its order, under napkin names, with the vector editor's name beside each:

Napkin BlendVector editorWhat it does
NormalNormalCovers what is under it
Soak BlendDarkenKeeps the darker of the two colors
Stack BlendMultiplyMultiplies, as ink stacks on paper: always darker
Scorch BlendColor BurnDarkens what is under it, with more contrast
Dry BlendLightenKeeps the lighter of the two colors
Sheer BlendScreenThe opposite of Stack Blend: always lighter
Bleach BlendColor DodgeBrightens what is under it, with less contrast
Fold BlendOverlayMultiplies the darks and screens the lights of what is under it
Light BlendSoft LightA soft light shone on what is under it
Heavy BlendHard LightA hard light shone on what is under it
Messy BlendDifferenceThe difference between the two colors
Avoidance BlendExclusionMessy Blend with less contrast
Tidy BlendHueIts hue, with the lightness and saturation of what is under it
Bright BlendSaturationIts saturation, with the hue and lightness of what is under it
Dye BlendColorIts hue and saturation, with the lightness of what is under it
Cover BlendLuminosityIts lightness, with the hue and saturation of what is under it

The Properties panel#

Properties panel (Ctrl+P): edits the current selection, element by element. Selecting a layer row selects that layer's elements, so the panel is also where a whole layer's stroke width is changed. Ctrl/Cmd-click picks rows out one at a time (clicking a selected row again takes it back out) and Shift-click takes every row between the last one selected and this one — the two modifiers every layer panel uses, and the one place they differ. A Shift range covers the rows the panel is showing: rows folded away inside a collapsed group are not swept up with them.