beginLoop

fnvoid beginLoop() nothrow @nogc

Begins a closed loop path.

Use vertex() to add points, then endLoop() to draw. The path is automatically closed.