thePath.closePath();

Figure 4