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

Recommended Posts

I can create a gradient for a stroke using the left pull-down stroke panel.  But it only seems to make a horizontal gradient.  My stroke has a vertical and horizontal portion, I am trying to add the gradient to the vertical portion.  How do I rotate the gradient 90 degrees?  If that's not possible how do I limit the Layer Effect to the stroke only?

iMac (27-inch, Late 2009) with macOS Sierra

Link to comment
Share on other sites

Hi Matt, in the one picture there is a stroked line that is mainly vertical.  I've made it blue just to show it, it's actually to be gray.  I want to have the line have a gradient, lighter on the top and darker on the bottom.  The second picture is of the gradient panel.  It only seems to allow a linear gradient to be horizontal, but I need it vertical.

 

If it were the fill then the Layer Effect would do it because I can specify an angle.  But I only want the stroke changed.

 

Happy New Year.

iMac (27-inch, Late 2009) with macOS Sierra

Link to comment
Share on other sites

  • Staff

No problem Gear maker, just go to the Gradient Tool (press 'g') and choose 'Stroke' from the 'context' on the context toolbar then just drag the handles with the mouse. If you want perfectly horizontal/vertical then use the Shift modifier to constrain it 

 

Hopefully that helps :)

Matt

Link to comment
Share on other sites

  • 2 weeks later...

Setting the direction of a gradient in a dialog is very clunky in my mind compared to live and instant tools that respond to clicks, drags, and drag and drop edits, but you aren't the first person to try and find the parameter there, GM. I suspect this is down to conditioning from inferior software, I can tell you it's OK, you will get used to things being... live. 

 

:)

Twitter: @Writer_Dale
Affinity apps run on: Ryzen 5 3600, 32GB RAM, GTX1650 Super

Link to comment
Share on other sites

  • Staff

Another little gem for certain applications where you have to set a gradient angle - and something I found from writing PSD import/export - the angle you specify for your gradient in PShop is not the actual angle that you get.  Try creating a vector rectangle, rotate it to 30 degrees with the free transform, then create another object with a linear gradient at 30 degrees - you will see that the angles are not the same at all.

 

post-17-0-05226100-1420798952_thumb.jpg

 

So - would you rather have an app that pretends to give you a gradient at an angle, or an app that lets you place your gradient precisely in the context of your document???

SerifLabs team - Affinity Developer
  • Software engineer  -  Photographer  -  Guitarist  -  Philosopher
  • iMac 27" Retina 5K (Late 2015), 4.0GHz i7, AMD Radeon R9 M395
  • MacBook (Early 2015), 1.3GHz Core M, Intel HD 5300
  • iPad Pro 10.5", 256GB
Link to comment
Share on other sites

  • 1 year later...

No problem Gear maker, just go to the Gradient Tool (press 'g') and choose 'Stroke' from the 'context' on the context toolbar then just drag the handles with the mouse. If you want perfectly horizontal/vertical then use the Shift modifier to constrain it 

 

Hopefully that helps :)

Matt

That did not work for me on Affinity Designer for Windows. When I decide to add a gradient to stroke only just the way you have described, it adds inner gradient fill but leaves the stroke itself unchanged.

Link to comment
Share on other sites

That did not work for me on Affinity Designer for Windows. When I decide to add a gradient to stroke only just the way you have described, it adds inner gradient fill but leaves the stroke itself unchanged.

Do you not see a "Context:" item on the left side of the Context toolbar (the toolbar that changes depending on the tool you select) when you select the Fill Tool (also called the gradient tool)? It should have two popup choices, Fill or Stroke.

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

Do you not see a "Context:" item on the left side of the Context toolbar (the toolbar that changes depending on the tool you select) when you select the Fill Tool (also called the gradient tool)? It should have two popup choices, Fill or Stroke.

Oh, there it was! Now I see it! Thank you so much for help!

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.