View unanswered posts | View active topics It is currently 2020-05-26 6:53



This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
 布局问题 
Author Message
新手上路

Joined: 2013-08-22 14:40
Posts: 41
Post 布局问题
1.自动布局后如何获取界面中所有的Note的坐标只有遍历这一种方法吗,有没有其他方法?

2. zoom()等一些方法放大或缩小后获取的Note的坐标会变吗(绝对坐标)?

3. 如何获取相对坐标?


2015-03-11 15:31
Profile
TWaver开发组
User avatar

Joined: 2014-02-11 8:59
Posts: 575
Post Re: 布局问题
1.获取所有网元的坐标信息,只有遍历一遍。
2.缩放之后的获取网元的坐标是不会发生变化的。
3.相对坐标可以将绝对坐标乘以当前缩放的zoom值。


2015-03-16 9:49
Profile
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron