Flex 中图片实现以中心点旋转

Flex种默认的控件旋转是以坐标(0,0) 为中心旋转

如果需要以控件中心点为圆心旋转可用下面方式实现

pic.transformAround(new Vector3D(pic.width/2,pic.height/2,0),null,new Vector3D(0,0,angel.value));

pic 是一个Image控件

pic.width/2,pic.height/2,0) 是计算pic中心位置坐标

angel.value 是要旋转的角度值

17 thoughts on “Flex 中图片实现以中心点旋转”

  1. I just want to mention I am all new to blogging and actually savored you’re web-site. Likely I’m likely to bookmark your website . You certainly come with beneficial writings. Regards for sharing your blog site.

  2. Within the present day culture look at Language is now a whole lot even more necessary and in addition well-known. Yet once i has long been younger, My spouse and i failed to comprehend with this as well as determine to like exterior instead of realize Language. Nevertheless my private mommy stated: “English can be the essential tools for being capable to consult with foreign most people, and which means it’s essential to analyze within a Language school.

  3. I want to to thank you for this very good read!! I certainly enjoyed every bit of it. I have you bookmarked to check out new things you post…

  4. Howdy! This article couldn’t be written much better! Looking at this post reminds me of my previous roommate! He continually kept talking about this. I most certainly will send this article to him. Pretty sure he will have a very good read. Thanks for sharing!

  5. Howdy! This blog post couldn’t be written any better! Looking through this article reminds me of my previous roommate! He continually kept talking about this. I most certainly will forward this information to him. Fairly certain he will have a very good read. I appreciate you for sharing!

  6. I’m amazed, I have to admit. Rarely do I come across a blog that’s equally educative and interesting, and let me tell you, you have hit the nail on the head. The problem is something which too few folks are speaking intelligently about. I’m very happy that I came across this in my search for something regarding this.

  7. Thank you so much for giving everyone an extremely spectacular chance to read from this site. It can be very brilliant and jam-packed with amusement for me personally and my office fellow workers to search your site at least three times a week to see the latest issues you have. Not to mention, I am just usually contented for the breathtaking points you give. Some 1 points in this posting are honestly the simplest I have had.

  8. I actually wanted to send a simple remark in order to express gratitude to you for all of the great tips and tricks you are posting at this site. My time intensive internet lookup has finally been compensated with reputable strategies to talk about with my friends and family. I would assert that most of us readers are undeniably endowed to live in a good network with many lovely people with helpful strategies. I feel rather grateful to have encountered the website and look forward to really more cool minutes reading here. Thank you once more for all the details.

  9. I not to mention my friends appeared to be reading the nice pointers found on your web blog while at once I got an awful feeling I never expressed respect to the web blog owner for those tips. All the people happened to be for this reason warmed to study all of them and have very much been taking advantage of these things. Appreciate your really being quite considerate and also for finding such incredibly good themes millions of individuals are really eager to discover. Our own honest apologies for not expressing gratitude to you earlier.

  10. I must show my appreciation to you for rescuing me from this type of trouble. After exploring throughout the search engines and seeing basics that were not pleasant, I was thinking my entire life was well over. Living devoid of the strategies to the problems you’ve solved as a result of your main article content is a critical case, as well as the kind that would have in a wrong way affected my entire career if I had not discovered your web page. Your main mastery and kindness in controlling all the details was priceless. I don’t know what I would have done if I hadn’t discovered such a step like this. It’s possible to at this time look forward to my future. Thanks for your time very much for this expert and sensible guide. I won’t be reluctant to endorse the blog to any individual who will need recommendations on this issue.

  11. My spouse and i have been quite comfortable that Louis managed to conclude his investigations using the precious recommendations he gained from your very own web site. It’s not at all simplistic just to happen to be giving out tips and tricks which people could have been selling. So we do know we have got the writer to thank for that. All of the explanations you’ve made, the simple website menu, the friendships you make it possible to create – it’s many excellent, and it’s really assisting our son in addition to us understand the idea is fun, and that is exceptionally vital. Thanks for all!

  12. I not to mention my friends were actually reading through the great guidelines found on your website and quickly got a terrible suspicion I had not expressed respect to the web blog owner for those techniques. Those women appeared to be for this reason thrilled to study all of them and already have in truth been having fun with them. Thank you for simply being well kind and also for utilizing this sort of fabulous subject areas most people are really eager to understand about. Our honest apologies for not saying thanks to sooner.

发表评论

电子邮件地址不会被公开。 必填项已用*标注