Sign in to follow this  
CamO

Create curve on existing polygon

Recommended Posts

Hey all, I am trying to find a way to create curves on specific points of an existing polygon that can be modified. Like below 

Screen Shot 2020-09-17 at 4.40.42 PM.png

I dont want to do it seperately

how can i do that

Edited by CamO

Share this post


Link to post
Share on other sites

moveTo-lineTo-lineTo-arc/bezierTo

If you want to modify existing polygons in graphcis, then you have to look how "graphics.geometry.graphicsData" works, what it contains, modify values there and call "graphics.geometry.invalidate()". Unfortunately there's no morph graphics in pixi

Share this post


Link to post
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...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.