Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic DiagramLink custom Headshape (Read 1777 times)
johnjay981
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 2
Joined: Mar 25th, 2010
DiagramLink custom Headshape
Oct 7th, 2010 at 3:43pm
Print Post  
Hi

is it possible to use a custom image instead of the the predefined arrowhead (Arrow, Circle etc).

Thanks
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: DiagramLink custom Headshape
Reply #1 - Oct 7th, 2010 at 5:14pm
Print Post  
Hi,

It is possible to set a custom Shape object as arrowhead, but not a bitmap image. If you need the latter, you can custom-draw the image by handling the DrawLink event. Here you can find some transform code that rotates around a specific point (e.g. the link end point in your case):
http://mindfusion.eu/Forum/YaBB.pl?board=fcnet_disc;action=display;num=125084366...

Also search the forum for the "CarteseanToPolar" method, which lets you find a rotation angle from two points.

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