PIXI can't draw lines with rounded ends, which is an issue because rendering the box outlines left little artifacts on the corners where there were overlaps (little points sticking out at different angles). This commit is my first attempt to generalize the path drawing, but I need to make it auto-calculate the bounds of the temporary texture canvas and shift all the points and return a Sprite with a correspondingly shifted (in reverse) anchor to account for the necessary shifts because it cuts off half of what it's supposed to render.