Enumeration
EndCap
End cap types.
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 = 1650680176 | readonly | A squared end that stops at the path's endpoint. | |
| Number = 1886020464 | readonly | A squared end that extends beyond the endpoint by half the stroke-width. | |
| Number = 1919115632 | readonly | A semicircular end that extends beyond the endpoint by half the stroke-width. |
Object of 49
Properties elsewhere that hold an EndCap value.
Button.endCapChangeObjectPreference.endCapCharacter.paragraphBorderStrokeEndCapCheckBox.endCapComboBox.endCapDashedStrokeStyle.endCapEPS.endCapEPSText.endCapEndnoteTextFrame.endCapFindObjectPreference.endCapFlexObject.endCapFormField.endCapGraphic.endCapGraphicLine.endCapGroup.endCapHtmlItem.endCapImage.endCapImportedPage.endCapInsertionPoint.paragraphBorderStrokeEndCapLine.paragraphBorderStrokeEndCapListBox.endCapMediaItem.endCapMovie.endCapMultiStateObject.endCapObjectStyle.endCapOval.endCapPDF.endCapPICT.endCapPageItem.endCapPageItemDefault.endCapParagraph.paragraphBorderStrokeEndCapParagraphStyle.paragraphBorderStrokeEndCapPolygon.endCapRadioButton.endCapRectangle.endCapSVG.endCapSignatureField.endCapSound.endCapSplineItem.endCapStory.paragraphBorderStrokeEndCapText.paragraphBorderStrokeEndCapTextBox.endCapTextColumn.paragraphBorderStrokeEndCapTextDefault.paragraphBorderStrokeEndCapTextFrame.endCapTextStyleRange.paragraphBorderStrokeEndCapWMF.endCapWord.paragraphBorderStrokeEndCapXmlStory.paragraphBorderStrokeEndCap