implented line wrapping by points / paths