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

Dashed line endpoint/corner alignment

Recommended Posts

Currently in all Affinity products when creating a dashed line there is no simple way to create even endpoints or corners. Yes, there is the option to change the "phase" but it very rarely gives the result you want and yes you can spend a LOT of time adjusting the dash size and spacing until you get something perfect... but none of these things are a good workflow... if I then need to adjust the shape the dash alignment goes off again and back to square one.

I hate saying this but....
In Illustrator there is a very simple button to toggle between retaining the exact dash length and therefore corners or endpoints are not the same and stretching the dash between corners/endpoints therefore making them all the same (see image below).

We need this in Affinity!
It's a big time saver, improves workflow and offers the best of both worlds depending on the desired outcome.  

Screenshot 2021-07-14 141540.jpg

Link to comment
Share on other sites

Is replicating the functionality of something like Illustrator the best that can be done?
I’m not saying that this sort of thing shouldn’t be implemented at some point – it’s clearly useful – but are the options given in Illustrator really the best that we can have?
This could be an opportunity to request something better than what is already available elsewhere.
I have no idea what could be better – I don’t use dashed lines enough for it to matter much to me – but we have a chance to ask for what we really want rather than just ask for what we already know about.
To put that another way, if the developers put the time and effort into implementing ‘something’, why not ask for that ‘something’ to be ‘best-in-class functionality’ rather than just a copy of what someone else has done?
It would be a shame if the opportunity was missed.

Link to comment
Share on other sites

I hear you @GarryP

And I know that’s kind of Affinity’s prerogative… “let’s not copy but improve and think outside the box”… and I think this is great and what makes Affinity an interesting product. 

But honestly… this particular function has no more to it than just making corners/end points even, easily, quickly and precisely, there’s really nothing else to expand on. I mean it’s such an incredibly basic function that I’m surprised I’m even asking for it. 

Link to comment
Share on other sites

If the functionality in something like Illustrator is all that is wanted then that’s absolutely fine and dandy by me. Just thought I’d mention it in case anyone had any good ideas as I’m not a frequent user of dashed lines.

One caveat I might mention is that whatever is requested needs to be translatable, in an expected way, to vector file formats such as SVG, EPS, and PDF.
For instance, say we request that some ‘embellishments’ are added to the corners of the shape. If those embellishments cannot be replicated in, for instance, SVG, then the exported SVG might not look and/or act the same as in the original document and that could cause extra problems further down the line.
Or, to put that another way, it’s all well and good asking for ‘fancy stuff’ but if that ‘fancy stuff’ doesn’t work outside of the application then that’s probably not good for anyone.

Anyway, maybe someone comes up with an amazing suggestion that will make things much better.

Link to comment
Share on other sites

  • 10 months later...
  • 3 months later...
  • 1 month later...
  • 4 weeks later...

I agree!

I'm just waiting for this feature so that I can leave Illustrator and thereby Adobe. When post processing architectural drawings it is essential to have strokes and not gaps at corners and endpoints in order to have readable drawings. It has been a feature in illustrator for a long time and in AutoCAD forever (at least since r12). 

It seems difficult to only use the API for SVG 2.0 to create nice dashed corners. The only way I found to do this is to divide objects into their line segments (straight and arcs), calculate their lengths and adjust the phase and/or gap size for each segment and then group the line segments together. I would gladly accept only keeping editability in Affinitys format and the choise of reverting to "simple dash" or exploding dashes to lines when exporting to .svg or .pdf.

A lot of other nice things in version 2 though! 🙂

Link to comment
Share on other sites

  • 3 months later...
  • Staff

Hi All - I'm pleased to say we have now added the ability to create balanced dashed lines and this is available to test in the latest beta. There are more details in the post below and it would be great if you wanted to try it out in the beta and let us know what you think - you can sign up to the beta program here.



Managing Director

Help make our apps better by joining our beta program!

MacBook Pro (16-inch, 2021) / Apple M1 Max / 64GB / macOS 12.0.1

iPad Pro 11-inch 3rd Gen / iPadOS 16.2

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.

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.

  • 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.