Share Posted October 14, 2009 is there a way to use setScaleConstraints() with a set pixel size instead of a percentage? thanks! Link to comment Share on other sites More sharing options...
Share Posted October 14, 2009 No, but you could do the math to figure out what that'd be, like scale = targetWidth / myObject.getBounds(myObject).width; Link to comment Share on other sites More sharing options...
Author Share Posted October 14, 2009 awesome. 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