Jump to content
You must now use your email address to sign in [click for more info] ×

How to draw a line of predetermined length


Recommended Posts

Hello,

 

I was wondering how can I draw a line and specify a specific length. For example I draw a simple straight line and I would like to set it's length to a specific value and without doing this manually by looking at the guides.

 

Many thanks

Link to comment
Share on other sites

  • Staff

Hi Egm1b,

 

If you use the Pen Tool to draw a line of any size then switch to the Move Tool and select it you will be able to specify the exact size of the line in the Transform tab by changing the W and H values :)

 

I hope this helps!

C

Please tag me using @ in your reply so I can be sure to respond ASAP.

Link to comment
Share on other sites

If you use the Pen Tool to draw a line of any size then switch to the Move Tool and select it you will be able to specify the exact size of the line in the Transform tab by changing the W and H values :)

 

That works OK for drawing a line which is perfectly horizontal or vertical, but if you want a sloping line you have to rotate it as a separate step. With an arbitrary centre of rotation (i.e. not the end or the middle of the line) you can't rotate by a precise angle because you have to drag on the page instead of entering a value in the Transform panel. :(

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

Of course, Callum, but you still have to do that as a separate step. :)

Alfred spacer.png
Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro
Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.4.1 (iPad 7th gen)

Link to comment
Share on other sites

If you edit both the H and W values you will get a sloping line :)

 

If it is a straight line it has no H value, just a W one, which is its length. If it is not a straight line, its length is not determined by its H & W values, which just define its bounding box.

All 3 1.10.8, & all 3 V2.4.1 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
Affinity Photo 
1.10.8; Affinity Designer 1.108; & all 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.