Canvas.endPath

Syntax

endPath(doClose: Boolean);

Parameters

doClose. Indicates whether polyline is closed after rendering is finished. If the parameter is set to True, polyline is closed.

Description

The endPath finishes rendering of a polyline.

Comments

Rendering of polyline starts from calling the Canvas.beginPath method.

Polyline is a continuous line formed from one or more joined lines.

Example

The example of method use is given in description of the Canvas.drawPoly method.

See also:

Canvas