andmocychmen Posted April 22, 2021 Share Posted April 22, 2021 Hi I'm trying to define border strokes separately on a rectangle. Say I want a plain stroke on all sides, except the top side, where I want a dashed stroke. Any way to do that? I can't see any parameters that would. If it's not there, does it mean I need to remove the stroke and then draw multiple lines on top? Quote Link to comment Share on other sites More sharing options...
Joachim_L Posted April 22, 2021 Share Posted April 22, 2021 18 minutes ago, andmocychmen said: Any way to do that? Not that I know, but you can do this with a table having only one cell. Quote ------ Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed Link to comment Share on other sites More sharing options...
kaffeeundsalz Posted April 22, 2021 Share Posted April 22, 2021 As an alternative to @Joachim_L's suggestion, here's a really quick way of doing this: Draw two rectangles: one with just the fill and one with just the outline. Convert the outline rectangle to curves. With the node tool, break the curve at the top left and top right node. This will separate the top line from the rest of the object. Select the top line and apply an individual stroke to it. There are downsides of this approach (e.g. after converting to curves, you'll lose rectangle properties for your outline object), but this is the easiest way I can think of to make this work. Joachim_L and andmocychmen 2 Quote Link to comment Share on other sites More sharing options...
andmocychmen Posted April 22, 2021 Author Share Posted April 22, 2021 1 hour ago, Joachim_L said: Not that I know, but you can do this with a table having only one cell. Wait... there are tables in Affinity Designer? 🤨 Quote Link to comment Share on other sites More sharing options...
andmocychmen Posted April 22, 2021 Author Share Posted April 22, 2021 46 minutes ago, kaffeeundsalz said: Draw two rectangles: one with just the fill and one with just the outline. Convert the outline rectangle to curves. With the node tool, break the curve at the top left and top right node. This will separate the top line from the rest of the object. Select the top line and apply an individual stroke to it. There are downsides of this approach (e.g. after converting to curves, you'll lose rectangle properties for your outline object), but this is the easiest way I can think of to make this work. Nice. Thank you. Quote Link to comment Share on other sites More sharing options...
Joachim_L Posted April 22, 2021 Share Posted April 22, 2021 12 minutes ago, andmocychmen said: Wait... there are tables in Affinity Designer? 🤨 Oh, sorry, no. I did not notice that you were using AD. andmocychmen 1 Quote ------ Windows 10 | i5-8500 CPU | Intel UHD 630 Graphics | 32 GB RAM | Latest Retail and Beta versions of complete Affinity range installed Link to comment Share on other sites More sharing options...
loukash Posted April 22, 2021 Share Posted April 22, 2021 It is possible non-destructively without adding another object: (Um… my wife's just told me she's hungry, so I have to cook dinner now. Let me know if you've found out how it works in the meantime. If not, I'll get back to you about in an hour or two, to tell you the whole secret… ) DEWLine and andmocychmen 1 1 Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
prophet Posted April 22, 2021 Share Posted April 22, 2021 2 hours ago, loukash said: I'll get back to you about in an hour or two, to tell you the whole secret I can't wait! Quote Link to comment Share on other sites More sharing options...
loukash Posted April 22, 2021 Share Posted April 22, 2021 (edited) Aw-rite, here you go: ade_dashed_stroke_side.mp4 Edited February 25 by loukash replaced *.mov with *.mp4 Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
prophet Posted April 22, 2021 Share Posted April 22, 2021 I was so close in using a gradient instead of the transparency tool, but couldn't quite get a "solid" edge. Very clever as always @loukash Quote Link to comment Share on other sites More sharing options...
loukash Posted April 22, 2021 Share Posted April 22, 2021 In Publisher, alternatively to tables, you can also use text frames with a blank paragraph decoration. That's really easy peasy and much more precise: Of course, you can then switch back to Designer. All text frame and paragraph attributes will remain intact, albeit not editable. andmocychmen 1 Quote MacBookAir 15": MacOS Ventura > Affinity v1, v2, v2 beta // MacBookPro 15" mid-2012: MacOS El Capitan > Affinity v1 / MacOS Catalina > Affinity v1, v2, v2 beta // iPad 8th: iPadOS 16 > Affinity v2 Link to comment Share on other sites More sharing options...
andmocychmen Posted April 23, 2021 Author Share Posted April 23, 2021 10 hours ago, loukash said: Aw-rite, here you go: ade_dashed_stroke_side.mov 25.77 MB · 2 downloads Interesting! Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.