Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Flip horizontal / vertical a node / shape (Read 2060 times)
Gabriel
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Oct 9th, 2012
Flip horizontal / vertical a node / shape
Feb 12th, 2014 at 8:43am
Print Post  
Hello,

I need to allow the user to flip horizontal / vertical a node.
Is there any easy way to do it?

Thank you
Gabriel
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Flip horizontal / vertical a node / shape
Reply #1 - Feb 12th, 2014 at 2:07pm
Print Post  
Hi,

You could let users rotate shapes by setting EnabledHandles = All. Mirroring a shape by flipping the node's Bounds is not supported out of the box. You could create mirrored shapes dynamically using the Reverse method here:
http://mindfusion.eu/Forum/YaBB.pl?num=1333397142/3#3

and let users change them via context menu commands, or by tracking user interaction and changing node.Shape when you detect a side handle has been dragged over the opposite side.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Gabriel
YaBB Newbies
*
Offline


I Love MindFusion!

Posts: 30
Joined: Oct 9th, 2012
Re: Flip horizontal / vertical a node / shape
Reply #2 - Feb 13th, 2014 at 7:47am
Print Post  
That solved the issue, thank you very much.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint