Text-anchor property for text method is set to ‘middle’ by default.
If you want to left align it then change text-anchor in attributes for the object:
var t = paper.text(50, 50, "Raphaƫl\nkicks\nbutt!").attr({'text-anchor': 'start'});
Text-anchor property for text method is set to ‘middle’ by default.
If you want to left align it then change text-anchor in attributes for the object:
var t = paper.text(50, 50, "Raphaƫl\nkicks\nbutt!").attr({'text-anchor': 'start'});