Template TextBoxPainter on line layout path