public void beginSubpath(float x0, float y0) { if (closed) { path.closePath(); closed = false; } path.moveTo(x0, y0); }