::new" title="ctx::new" class='ruff_cmd'>ctx::new</a></td></tr>
<tr><td><nobr><code>coordinates</code></nobr></td><td>list x,y</td></tr>
</table>
<h5 class='ruff'>Description</h5><p class='ruff'>The lineTo method can be called multiple times to draw multiple lines. Each call to lineTo adds a line to the current path, and the stroke method will draw all of the lines in the path.</p>
<p class='ruff'>For example, to draw a square with the top-left corner at (10, 10) and the bottom-right corner at (20, 20), you