Enumeration
StateTypes
Options for specifying the events (user actions) that change a button's state.
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 = 1181971556 | readonly | The mouse pointer is clicked on the button's area. | |
| Number = 1181967462 | readonly | Down off state. | |
| Number = 1181967471 | readonly | Down on state. | |
| Number = 1181971574 | readonly | The mouse pointer moves into the button's area. | |
| Number = 1181972070 | readonly | Rollover off state. | |
| Number = 1181972079 | readonly | Rollover on state. | |
| Number = 1181971566 | readonly | The default appearance, used when there is no user activity on the button's area. | |
| Number = 1181970022 | readonly | Up off state. | |
| Number = 1181970031 | readonly | Up on state. |
Object of 1
Properties elsewhere that hold an StateTypes value.