Generic function
Closes the current path on the specified drawable.
close-path drawable => ()
duim-graphics
duim-graphics
Closes the current path on the drawable: that is, creates a closed figure from the elements already defined.
For example, if you create a path that has four connected lines (using line-to), you can use close-path to join the first and last lines in the path to create a closed, five-sided figure.
Only closed paths can be filled, although fill-path will close a non-closed path automatically.