Enumeration
CharacterAlignment
Options for aligning small characters to the largest character in the line.
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 = 1247896172 | readonly | Aligns small characters in a line to the large character. | |
| Number = 1247896173 | readonly | Aligns small characters in horizontal text to the bottom of the em box of large characters. In vertical text, aligns characters to the left of the em box. | |
| Number = 1247896436 | readonly | Aligns small characters to the center of the em box of large characters. | |
| Number = 1247900784 | readonly | Aligns small characters in horizontal text to the top of the em box of large characters. In vertical text, aligns characters to the right of the em box. | |
| Number = 1248420461 | readonly | Aligns small characters in horizontal text to the bottom of the ICF of large characters. In vertical text, aligns characters to the left of the ICF. | |
| Number = 1248425072 | readonly | Aligns small characters in horizontal text to the top of the ICF of large characters. In vertical text, aligns characters to the right of the ICF. |
Object of 21
Properties elsewhere that hold an CharacterAlignment value.
ChangeGrepPreference.characterAlignmentChangeTextPreference.characterAlignmentChangeTransliteratePreference.characterAlignmentCharacter.characterAlignmentCharacterStyle.characterAlignmentFindGrepPreference.characterAlignmentFindTextPreference.characterAlignmentFindTransliteratePreference.characterAlignmentGridDataInformation.characterAlignmentInsertionPoint.characterAlignmentLine.characterAlignmentParagraph.characterAlignmentParagraphStyle.characterAlignmentStory.characterAlignmentStoryGridDataInformation.characterAlignmentText.characterAlignmentTextColumn.characterAlignmentTextDefault.characterAlignmentTextStyleRange.characterAlignmentWord.characterAlignmentXmlStory.characterAlignment