Set shape text direction

Refer to the following example code to see how to set the shape text direction to be stacked, and the text reading order from right to left.