How to apply a gradient to a line shape


Author
Message
Miguel Sevilla
Miguel Sevilla
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)
Group: Forum Members
Posts: 4, Visits: 1
How do you apply a gradient to a line shape like a NRoutableConnector?(i.e. two color gradient, applied to the entire line one color from one end, and ending in a different color on the other end)

I played around with the Nevron examples application and was able to apply a gradient fill (Fill Style) to a box shape; however, when I applied it to a line shape, it didn't seem to do anything. The line would only seemed to be taking into consideration the stroke style settings.

Thank you!
Reply
Andrew Shand
Andrew Shand
Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)Forum Newbie (6 reputation)
Group: Forum Members
Posts: 7, Visits: 4
I'm also interested in showing connectors with a gradient fill...

I'm new to the Diagram component. Could you post a snippet on how you achieved the gradient arrow example?

Thanks
Andy
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search