Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic How to use link.setPen (Read 2212 times)
hans
Junior Member
**
Offline


I Love MindFusion!

Posts: 81
Location: Netherlands
Joined: Mar 17th, 2012
How to use link.setPen
Jan 19th, 2013 at 2:07pm
Print Post  
When I use link.setPen(3) or link.setPen(1), I see no difference, after diagram.repaint();
I expect the link to be thicker or thinner.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: How to use link.setPen
Reply #1 - Jan 20th, 2013 at 10:35am
Print Post  
Call setStrokeThickness to make the link thinner or thicker. This method is available in the version we uploaded for you a few days ago (https://mindfusion.eu/_beta/jsdiag15.zip). setPen expects a color or brush object, and the version above also adds a setStroke method as its synonym for naming consistency and compatibility with our other APIs.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint