Adobe Photoshop CS5 Object Library JS: OffsetUndefinedAreas

Photoshop CS5

 The method to use to fill the empty space left by offsetting a an image or selection.

Value

NameDescriptionValue
OffsetUndefinedAreas.REPEATEDGEPIXELSExtends 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.SETTOBACKGROUNDFor background layers, sets pixels to the background layer color. For nonbackground layers, sets the pixels to transparent. int 1
OffsetUndefinedAreas.WRAPAROUNDFills 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.3iContents :: Index