Enumeration
Sampling
The resampling method.
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 = 1650742125 | readonly | Uses a weighted average to determine pixel color. | |
| Number = 1684951917 | readonly | Averages the pixels in a sample area and replaces the entire area with the average pixel color. | |
| Number = 1852796517 | readonly | Uses no resampling. | |
| Number = 1935823725 | readonly | Chooses a pixel in the center of the sample area and replaces the entire area with that pixel color. |
Object of 6
Properties elsewhere that hold an Sampling value.