Adobe Photoshop CS5 Object Library JS: OffsetUndefinedAreas
From Photoshop CS5
The method to use to fill the empty space left by offsetting a an image or selection.
Value
| Name | Description | Value |
|---|---|---|
| OffsetUndefinedAreas.REPEATEDGEPIXELS | Extends the colors of pixels along the edge of the image in the direction specified. Banding may result if the edge pixels are different colors. | int 3 |
| OffsetUndefinedAreas.SETTOBACKGROUND | For background layers, sets pixels to the background layer color. For nonbackground layers, sets the pixels to transparent. | int 1 |
| OffsetUndefinedAreas.WRAPAROUND | Fills the undefined space with content from the opposite edge of the image. | int 2 |
Usage
In function
void ArtLayer.applyOffset (horizontal: UnitValue, vertical: UnitValue, undefinedAreas: OffsetUndefinedAreas)
| Jongware, 28-Aug-2012 v3.0.3i | Contents :: Index |