Jump to content

Advanced shape


maitrungduc1410
 Share

Recommended Posts

Hi everyone,

I'm new with PIXI,

I'm wondering how to use PIXI to draw a line like this (in the picture). For example, the start point is (100, 100), end point is (700, 700). I see this in a site and I know they use quadraticCurve, but I can't decode that part they draw the line. (I think this can also be done with bezierCurveTo)

Does anyone know this can help me?

Thank you for your answer

Screen Shot 2018-11-22 at 10.09.54.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...