Adobe Photoshop CS5 Object Library JS: UndefinedAreas

Photoshop CS5

 The method to use to treat undistorted areas or areas left blank in an image to which a filter in the Distort category has been applied.

Value

NameDescriptionValue
UndefinedAreas.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 2
UndefinedAreas.WRAPAROUNDFills the undefined space with content from the opposite edge of the image. int 1

Usage

In function

void ArtLayer.applyDisplace (horizontalScale: int, verticalScale: int, displacementType: DisplacementMapType, undefinedAreas: UndefinedAreas, displacementMapFile: File)

void ArtLayer.applyShear (curve: Array of any, undefinedAreas: UndefinedAreas)

void ArtLayer.applyWave (generatorNumber: int, minimumWavelength: int, maximumWavelength: int, minimumAmplitude: int, maximumAmplitude: int, horizontalScale: int, verticalScale: int, waveType: WaveType, undefinedAreas: UndefinedAreas, randomSeed: int)

Jongware, 28-Aug-2012 v3.0.3iContents :: Index