Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can I obtain the size of Node? (Read 2261 times)
gamjaradio
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 42
Joined: Jul 16th, 2010
Can I obtain the size of Node?
Jul 16th, 2010 at 6:30am
Print Post  
I want have the size of node that I draw on View area.

How can I do this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Can I obtain the size of Node?
Reply #1 - Jul 16th, 2010 at 6:49am
Print Post  
Call node.getBounds() and use the Rectangle2D members to get the node coordinates and size.

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


I love YaBB 1G - SP1!

Posts: 42
Joined: Jul 16th, 2010
Re: Can I obtain the size of Node?
Reply #2 - Jul 16th, 2010 at 6:57am
Print Post  
thank you very much Roll Eyes
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint