Icon ClosePath Method

procedure ClosePath

Available In: Visual Client Applications

Use this method to close the current subpath of the canvas, if it is open. The subpath is closed by adding a line connecting the current point to the first point of the subpath. A new subpath is then started at the ending point of this last subpath.

Information The Fill and Clip methods always treat the subpath as closed, so the only time you should need to call this method is when you want to Stroke a closed subpath.
Image