The ParagraphStyle object represents the paragraph style of a text item (textRange.paragraphStyle) or a text range (textRange.paragraphStyle).
Sample code:
var text = new PointText(new Point(0,0)); text.content = 'Hello world.'; text.paragraphStyle.justification = 'center';