>closePath</a><span class='ruff-tiptext'><pre><span class='ruff_cmd'>closePath</span> <span class='ruff_arg'>context</span></pre>Attempts to add a straight line from the current point to the start of the current sub-path. If the shape has already been closed or has only one point, this function does nothing.
</span></li><li class='ruff-toc3 ruff-tip'><a href='pix-pix-ctx.html#::pix::ctx::destroy'>destroy</a><span class='ruff-tiptext'><pre><span class='ruff_cmd'>destroy</span> <span class='ruff_arg'>value</s