O'Reilly logo

HTML5 Web Application Development By Example Beginner's guide by J.M. Gustafson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding drawing tools

At this point we have an application where we can draw simple lines such as a pen, but it sure would be nice if we could draw some shapes such as straight lines, rectangles, and circles. In this section we will add a Tool menu to allow the user to select different shapes to draw.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required