122 Chapter 5—Canvas
Figure 5.10 The path method “arcTo()”
In practice, this method is very useful for rectangles with rounded corners. A re-
usable function will come in handy to do the job shown in Figure 5.11.
122 Chapter 5—Canvas
Figure 5.10 The path method “arcTo()”
In practice, this method is very useful for rectangles with rounded corners. A re-
usable function will come in handy to do the job shown in Figure 5.11.