Restores the default text paragraph characteristics in the Paragraph panel.None.Nothing.
Category Archives: TextDocument object
TextDocument object
The TextDocumentobject stores a value for a TextLayer’s Source Text property. Create it withthe constructor, passing the string to be encapsulated.ExamplesT
applyStroke
When true,the text layer shows a stroke. Accessthe strokeColor attribute for the actual colorand strokeWidth for its thickness. When false, only a fill is s
boxTextSize
The size of a paragraph box text layer as a [width, height] array of pixel dimensions.Array of two integers minimum value of 1 ; read/write.
justification
The paragraph justification for the text layer.AParagraphJustification enumerated value; read-only. One of:ParagraphJustification.LEFT_JUSTIFYParagraphJusti