Jump to content

Resize Handles


maxtotheguenther
 Share

Recommended Posts

Hello folks,

im new in the whole pixi busniness so be gentle with me ;)

I'm trying to build a small editor where you have different graphics. With each graphic you should be able to interact. When you interact with it, the resize and rotation handles should be displayed. But I don't really know how to develop the box outside the graphic. My thought was to build 4 rectangles around the actual graphic. So I can register an on listener for each rectangle and store a special cursor. Am I on the right way or is there a better way to implement this?
 

Im trying to implement something like this.

Thanks for your help?

 

image.png.1bd1af4a4de1821c8093cc7ed37dab3a.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...