Enumeration
Position
Text position options.
In UXP, compare with equals() — the == and === operators do not work on DOM objects: myPath.pathType.equals(PathType.CLOSED_PATH), not myPath.pathType == PathType.CLOSED_PATH.
Values
| Name | Type | Access | Description |
|---|---|---|---|
| Number = 1852797549 | readonly | Normal position | |
| Number = 1884247140 | readonly | For OpenType fonts, shrinks the text but keeps text on the main text baseline. Note: Valid only for numeric characters. | |
| Number = 1884247150 | readonly | For OpenType fonts, shrinks the text but keeps the top of the characters aligned with the top of the main text. Note: Valid only for numeric characters. | |
| Number = 1884247138 | readonly | For OpenType fonts, uses--if available--lowered glyphs that are sized correctly relative to the surrounding characters. | |
| Number = 1884247155 | readonly | For OpenType fonts, uses--if available--raised glyphs that are sized correctly relative to the surrounding characters. | |
| Number = 1935831907 | readonly | Subscripts the text. | |
| Number = 1936749411 | readonly | Superscripts the text. |
Object of 19
Properties elsewhere that hold an Position value.
ChangeGrepPreference.positionChangeTextPreference.positionChangeTransliteratePreference.positionCharacter.positionCharacterStyle.positionFindGrepPreference.positionFindTextPreference.positionFindTransliteratePreference.positionInsertionPoint.positionLine.positionParagraph.positionParagraphStyle.positionStory.positionText.positionTextColumn.positionTextDefault.positionTextStyleRange.positionWord.positionXmlStory.position