Share Posted August 16, 2011 Is there a way with Transform Manager to restrict the scaling from say 0.25 - 2 ? I can't see anything in the API but this would be a very important feature to have. Link to comment Share on other sites More sharing options...
Share Posted August 17, 2011 Absolutely. There are maxScaleX, minScaleX, maxScaleY, and minScaleY properties. And there is a setScaleConstraints() method that allows you to set those all in one easy step. Link to comment Share on other sites More sharing options...
Author Share Posted August 17, 2011 I only looked in the TransformManager API (as I assumed it would be a global thing) and not TransformItem. I guess it makes more sense to be able to set different values per item. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now