beginPath(drawFill: Boolean, drawStroke: Boolean);
drawFill. It determines whether polyline is filled. If the parameter is set to True, polyline is filled.
drawStroke. It determines whether polyline borders are rendered. If the parameter is set to True, borders are rendered.
The beginPath initializes start of polyline rendering.
When the polyline is rendered, the Canvas.endPath method is called.
Polyline is a continuous line formed from one or more joined lines.
The example of method use is given in description of the Canvas.drawPoly method.
See also: