Jump to content
GreenSock

Handycam

Get bounding rectangle of all transform items?

Moderator Tag

Recommended Posts

Is there a way to get the bounding box of all the items in a FlexTransformManager?

 

I am going to need to put my TM in a "zoomable" area, and was looking into a way to provide a "fit to window" button.

Link to comment
Share on other sites

Sure, you could select all the items and then use getSelectionBounds().

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×