Search the Community
Showing results for tags 'rectangle'.
Found 2 results
Create box with unequal sidesI am trying to create a rectangle with 4 unequal sides (a quadrilateral) that looks like this: Then eventually animate the corners slightly so the box has some movement. Any suggestions? I can't seem to find anything in the docs. All I can seem to find is how to expand the size of the box, or translate it.
So I haven't had any luck finding an answer to this via Google or the forums here yet, so hopefully someone can help. Is there a way to specify what (other than the selected item) the selection rectangle uses to set its size, if a TransformManager is applied to a Sprite with multiple children? Scenario: I have a Sprite with 2 children: a Bitmap, and a Shape. The Shape has a blendmode of ERASE, so the user can "erase" the image below it, but if the user 'paints' outside the visible area of the image, it increases the selection box size. I only want the selection box to be sized to the image, not the size of the image + erase layer. Does that make sense? Thanks in advance! -Jarrod