ParagraphStyle
The Class that stores properties related to the Paragraph panel in the Photoshop UI.
Properties
Name | Type | Access | Default | Range | Min Version | Description |
---|---|---|---|---|---|---|
features | R W | - | 24.1 | The paragraph UI features to display. | ||
firstLineIndent | number | R W | - | -1296..1296 | 24.1 | The amount of space in pixels to indent the first line of paragraphs for a 72ppi document. |
hyphenation | boolean | R W | false | - | 24.1 | True to use hyphenation in word wrap. Use hyphenationFeatures for maximum control. |
hyphenationFeatures | R W | - | - | 24.1 | The property values used to calculate hyphenation. | |
justification | R W | - | 24.1 | The paragraph justification. | ||
justificationFeatures | R W | - | - | 24.1 | The property values used to calculate justification. | |
kashidaWidth | R W | - | 24.1 | The width of kashida (tatweel) character | ||
kinsoku | R W | - | 24.1 | Line breaking rules in Japanese text (Kinsoku Shori) | ||
layoutMode | R W | - | 24.1 | The paragraph layout mode. | ||
leftIndent | number | R W | - | -1296..1296 | 24.1 | The amount of space in pixels to indent text from the left for a 72ppi document. |
mojikumi | R W | - | 24.1 | Spacing between punctuation, symbols, numbers, and other character classes in Japanese text. | ||
rightIndent | number | R W | - | -1296..1296 | 24.1 | The amount of space in pixels to indent text from the right for a 72ppi document. |
spaceAfter | number | R W | - | -1296..1296 | 24.1 | The amount of space in pixels to use after each paragraph for a 72ppi document. |
spaceBefore | number | R W | - | -1296..1296 | 24.1 | The amount of space in pixels to use before each paragraph for a 72ppi document. |
Methods
reset
24.1async : Promise<void>
Resets the paragraph style to its default values.