+++ title = "Document panel" [extra] order = 2 +++ The **Document panel** is the main content area where the artwork is displayed and edited using **tools** within the **viewport**. It's also where the **node graph** can be overlaid by pressing CtrlSpace. The viewport is for interactive, visual editing of the **canvas**. The node graph is where you can inspect the underlying structure of the document and edit it in a more technical manner when the need arises. There is one instance of the Document panel per open document file. Each has its own tab labeled with its file name. When a document has unsaved changes, an `*` is included at the end of the name. The Document panel is composed of three main areas: - The **control bar** runs across the top of the panel and shows tool and viewport controls. - The **tool shelf** is the vertical bar that runs down the left of the panel showing the editing tools and working colors. - The **viewport** fills most of the panel and contains a view of the canvas which can be interactively edited using the tools. ## Control bar Here is where you control your interaction with the document via active tool and view options. ### Tool controls The left side of the control bar has controls pertaining to the active tool. It's empty for some tools.
When checked (default), overlays are shown. When unchecked, they are hidden. Overlays are the temporary contextual visualizations (like bounding boxes and vector manipulators) that are usually blue and appear atop the viewport when using tools.
| | Snapping |When checked (default), drawing and dragging shapes and vector points means they will snap to other areas of geometric interest like corners or anchor points. When unchecked, the selection moves freely.
Fine-grained options are available by clicking the overflow button to access its options popover menu. Each option has a tooltip explaining what it does by hovering the cursor over it.
Snapping options relating to **Bounding Boxes**:
Snapping options relating to **Paths**:
When checked (off by default), grid lines are shown and snapping to them becomes active. The initial grid scale is 1 document unit, helping you draw pixel-perfect artwork.
**Type** sets whether the grid pattern is made of squares or triangles.
**Rectangular** is a pattern of horizontal and vertical lines:
It has one option unique to this mode:
**Isometric** is a pattern of triangles:
It has two options unique to this mode:
**Normal** (default): The artwork is rendered normally.
**Outline**: The artwork is rendered as a wireframe.
**Pixels**: **Not implemented yet.** The artwork is rendered as it would appear when exported as a bitmap image at 100% scale regardless of the viewport zoom level.
| | Zoom In |Zooms the viewport in to the next whole increment.
| | Zoom Out |Zooms the viewport out to the next whole increment.
| | Reset Tilt and Zoom to 100% |Resets the viewport tilt to 0°. Resets the viewport zoom to 100% which matches the canvas and viewport pixel scale 1:1.
| | Viewport Zoom |Indicates the current zoom level of the viewport and allows precise values to be chosen.
| | Viewport Tilt |Hidden except when the viewport is tilted (use the *View* > *Tilt* menu action). Indicates the current tilt angle of the viewport and allows precise values to be chosen.
| | Node Graph |Toggles the visibility of the overlaid node graph.
| ## Tool shelf This narrow bar runs vertically down the left side of the Document panel beside the viewport. ### Tools Located at the top of the tool shelf area, the **tool shelf** provides a selection of **tools** for interactively editing the artwork. | | | |-|-| |The tool shelf is split into three sections: the **general tools** (gray icons), **vector tools** (blue icons), and **raster tools** (orange icons).
The upper circle is the **primary color**. The lower circle is the **secondary color**.
There are two buttons located underneath: **Swap** which reverses the current color choices, and **Reset** which restores the primary color to black and the secondary color to white.
| The tool controls (above the viewport) for some of the tools offer choices for using the primary and secondary colors. For example, the vector drawing tools have **Fill** and **Stroke** options that use the current secondary and primary colors, respectively, as defaults: