Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Group shapes (Read 1634 times)
saad
Full Member
***
Offline


I Love MindFusion!

Posts: 117
Joined: Oct 8th, 2012
Group shapes
Oct 30th, 2012 at 11:20pm
Print Post  
Is there a way to group shapes? What I'm trying to do is keep them in one lane, which I can be attachTo but as i also want to see y coordinate of shape (in a group preferablly) within that lane so that when the user decreases height of the lane, it doesnt go below the y-coodinate of the highest shape in the group.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Group shapes
Reply #1 - Oct 31st, 2012 at 8:29am
Print Post  
You could loop over all shapes in the lane and find their distance to the laneNode.Bounds.Y, then assign the max distance to laneNode.Cosntraints.MinHeight.

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