Affinity Designer: Draw a Line
In this tutorial, we will learn how to draw a straight line in Serif's Affinity Designer using the Pen Tool.
1) Launch Affinity Designer.
2) Create a new document (Press ⌘
+ N
). If you intend to work on a transparent background, you can check Transparent background in the Color section of the dialog box which popped up.
3) Pick the Pen Tool (Press P).
![affinity designer pen tool](../img/tutorials/affinity-designer-pen-tool.png)
4) It has four different modes. Pick the Line Mode.
![affinity designer pen tool line mode](../img/tutorials/affinity-designer-pen-tool-line-mode.png)
5) Click at a point on the document, where you wish the line to start. Then press SHIFT
and drag the mouse horizontally.
![affinity designer line start point](../img/tutorials/affinity-designer-line-start-point.png)
6) Release the mouse at the point where you intend the line to end. All the while, notice the Stroke tool on the Context Toolbar, which currently has the value 1 pt. This is where you set the thickness, type, colour and other properties of the line.
![affinity designer line end point](../img/tutorials/affinity-designer-line-end-point.png)
7) Here we get our first horizontal line.
![affinity designer horizontal line](../img/tutorials/affinity-designer-horizontal-line.png)
Setting the Thickness & Colour
8) To set the thickness of a line, click on the stretched line icon on the Context Toolbar, next to the Stroke swatch. A Stroke panel opens up. Slide the Width control to the desired thickness.
![affinity designer line thickness](../img/tutorials/affinity-designer-line-thickness.png)
9) To set the colour of the line, click on the Stroke swatch, and then the Colour panel. There are several selection preferences for colour sliders. Here I have selected HSL Colour Wheel. Pick a desired color from the wheel.
![affinity designer line colour](../img/tutorials/affinity-designer-line-colour.png)
Vertical Line
10) Drawing a vertical line requires just pressing the SHIFT
key and dragging the mouse vertically.
![affinity designer draw vertical line](../img/tutorials/affinity-designer-draw-vertical-line.png)
Dotted Line
11) Pick the Move Tool and click on the line you wish to turn dotted. Cick on the line icon again, next to the Stroke swatch. A Stroke Panel open up. Choose the Dash Line Style from the Style field.
![affinity designer dash line style](../img/tutorials/affinity-designer-dash-line-style.png)
12) Now for the Cap style of the dash, you can select either Round or Butt or Square. Here I choose Butt.
![affinity designer butt cap](../img/tutorials/affinity-designer-butt-cap.png)
13) Our dotted line looks as follows.
![affinity designer dotted line](../img/tutorials/affinity-designer-dotted-line.png)
14) There is a four-number Dash grid at the bottom of the Stroke panel. The first number sets the size of the dash and the second the subsequent space.
![affinity designer dotted line spacing](../img/tutorials/affinity-designer-dotted-line-spacing.png)