Jump to content


Circle to Square ?

Recommended Posts

Is it possible with greensock to transform a circle to a square with rounded corners ?

Link to comment
Share on other sites

In HTML5/JS, yes, it's quite easy because there's a borderRadius property but in Flash I'm not aware of something similar unless you tap into the graphics API and keep redrawing your shape (you could tween your own generic borderRadius property which you'd use in an onUpdate to do your redrawing accordingly). 

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.