Enumeration
TextStrokeAlign
Stroke alignment 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 = 1936998723 | readonly | The stroke straddles the path. | |
| Number = 1936998735 | readonly | The stroke is outside the path, like a picture frame. |
Object of 17
Properties elsewhere that hold an TextStrokeAlign value.
ChangeGrepPreference.strokeAlignmentChangeTextPreference.strokeAlignmentCharacter.strokeAlignmentCharacterStyle.strokeAlignmentFindGrepPreference.strokeAlignmentFindTextPreference.strokeAlignmentInsertionPoint.strokeAlignmentLine.strokeAlignmentParagraph.strokeAlignmentParagraphStyle.strokeAlignmentStory.strokeAlignmentText.strokeAlignmentTextColumn.strokeAlignmentTextDefault.strokeAlignmentTextStyleRange.strokeAlignmentWord.strokeAlignmentXmlStory.strokeAlignment