The Pen Tool is used to precisely draw lines and shapes.
Settings
The following settings can be adjusted using a vertical tool slider:
Width—controls the width of the line using a vertical slider next to the tool's location. Slide up or down to set the width.
The following settings can be adjusted from the context toolbar:
Stroke properties—tap to access stroke properties such as stroke style, width, cap, join and align, as well as arrowhead styles and manual pressure profiles using navigation buttons.
Node Snapping:
Snap To Nodes—will snap any node you drag to any other node on the same or a different curve.
Snap To Geometry—will snap dragged nodes to the same or different curve's path or node.
Snap All Selected Nodes—will snap multiple selected nodes, when dragging, to a "target" node on any selected curves when it is at the vertical and horizontal intersection of the moving nodes.
Align Handles Positions—will snap a control handle using any of the snapping criteria currently set in Global snapping, e.g. to grid, guide, object geometry, key points, spread, margin, etc.
Perform Construction Snapping—allows control handle snapping:
inline with adjacent node.
to 90° from inline.
to reflected angle with adjacent control handle.
parallel to adjacent control handle.
90° to parallel control handle.
to logical triangle.
Mode—offers several modes to change how the line is drawn:
Pen—use to create Bézier curves and shapes with smooth or sharp corners and nodes.
Smart—create flowing curves and shapes by tapping and placing nodes.
Polygon—use to draw straight lines with sharp nodes and shapes with straight edges.
Line—use to draw single-segment straight lines.
Rubber Band mode—used in conjunction with any mode, it previews the next segment to be drawn before placement of the new node. Your finger/pencil position is followed.
Colour—tap to choose the stroke colour.
Use Fill—When enabled, the concave area of the line is filled with the colour you select from the revealed Fill colour swatch as you draw.
To Mask—converts the open curve or drawn closed shape into a protected area, masking the remaining layer content.
To Selection—converts the open curve or drawn closed shape into a pixel selection.
Preserve Selection—used in conjunction with any one of the other modes, it keeps the previously drawn curve(s) selected so that their nodes and geometry can be more easily snapped to as you draw additional curves.
Add to Curves—used in conjunction with any one of the other modes, it creates additional curves on the same layer as the initial curve.
Join connects two separate curves together to make one curve. Curves need to be both selected from the Layers panel as you draw.