Creates a path text item.
Sample code:
var path = new Path.Circle(new Point(150, 150), 40);
var text = new PathText(path);
text.content = 'Some text running along a circle';
Parameters:- path: Path — the path that the text will run along
- orientation: String ('horizontal', 'vertical') — optional