Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 2. Drawing with the Canvas Element > Drawing with Quadratic Curves

Drawing with Quadratic Curves

Besides the Bezier curves you saw in the previous task, you can also draw with quadratic curves by using the quadraticCurveTo() function:

  • quadraticCurveTo(float cpx, float cpy, float x, float y);


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint