Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
Wonder Giant

Need a "fitOutsideBounds" for TransformManager

Recommended Posts

So TransformManager has a handy "fitInsideBounds", but I actually need the opposite of that for what I am doing. Basically I have a 300x400 masked area, and I need the transformItem inside of it to always stay larger than that size.

 

As well as staying larger than the masked area, I want it to basically drag so that you can never see the edge of the image either. Basically a startDrag bounds, but the bounds should always be the edge of the image no matter how big you make it.

 

Not sure if I am describing this in the best way. hopefully someone gets what I mean, and might have a suggestion.

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.
×