closePath - method of object CanvasCtx
Connects the path between the last actual drawing point and the first starting point.
closePath As Object
The method creates a path. Therefore before this method is called the beginPath
method should be called. For the rendering itself the stroke
method is used.
The method can also be called in the graphic item events for Web panels
variable represents the drawing canvas (CanvasCtx
). The setup is done on Draw
page at the beginning of the script of drawing event onDraw