Copy #path method from CanvasBuilder to avoid doing a lot of extra work and potential fetching of data.
CanvasBuilder#initialize does most of the work of setting up the canvas instead of in #apply so it is fairly expensive especially when doing this for hundreds of canvases.
Copy
#path
method from CanvasBuilder to avoid doing a lot of extra work and potential fetching of data.CanvasBuilder#initialize
does most of the work of setting up the canvas instead of in#apply
so it is fairly expensive especially when doing this for hundreds of canvases.