Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ShapeNodes and Rotations (Read 1289 times)
rajesh_patil74
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 220
Joined: Sep 3rd, 2009
ShapeNodes and Rotations
Mar 23rd, 2010 at 2:28pm
Print Post  
Hi Stoyo

In one of previous thread, I asked for rotations of objects using additional adjustment handle and changing the angle using mouse.

Today, I checked that it is not possible to change the rotation of shapes programmatically even the propery for same exists.

Is it possible to include changing rotation angle for shapes node programmatically thro' code behind for release 1.4.

-Rajesh
  
Back to top
WWW  
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: ShapeNodes and Rotations
Reply #1 - Mar 23rd, 2010 at 2:44pm
Print Post  
Hi Rajesh,

At this time you could use the RenderTransform property:

Code
Select All
node.RenderTransform = new RotateTransform
{
	Angle = 90,
	CenterX = node.Bounds.Width / 2,
	CenterY = node.Bounds.Height / 2
}; 



however that won't rotate the selection handles and links' anchor points. We'll try to implement that soon after the 1.4 release.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint