const lineEnd = { x: toBbox.left + toBbox.width, y: toBbox.top + toBbox.height / 2 };