Draws on the canvas using the provided callback function.
start and end are called automatically.
The drawing operations to perform on the canvas.