Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
plasticbrain

Hiding the selection bounding box

Recommended Posts

I'm looking for a trick to hide the bounding box when an item that has been added to a TransformManager is selected. I know I can hide the center handle, and effectively diminish the other handles to nothing by setting their size to 0, but the edge of the bounding box is still visible.

 

It would be ideal if all style (appearance) in TransformManager was handled by a separate class that I could then subclass to my liking, much like a spark skin class.

Link to comment
Share on other sites

Perhaps I should pose this question another way.

 

Is there any way to use the moveSelection(), rotateSelection(), or scaleSelection() methods without invoking a bounding box on the target?

Link to comment
Share on other sites

Sure, you could just create your selection, use the scaleSelection(), moveSelection(), and/or rotateSelection() and then deslectAll() immediately. But I just uploaded a new version of TransformManager that has a "lineThickness" property that you can set to whatever you want (even 0). That should give you exactly what you need. Log into your GreenSock account to get it. https://www.greensock.com/account/

 

Enjoy!

Link to comment
Share on other sites

  • 2 weeks later...

Hello,

Could it be possible to update the documentation please ? If i'm not mistaking, this new property doesn't appear.

 

Thank you for your great work.

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