Getting ready

In this recipe, we will build an application that allows us to draw lines by clicking on the canvas. Each line will be displayed by clicking first on the point that will determine the line start, and a second time to set the line end.

We will be also able to specify some appearance options, such as color and width:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset