Adobe Photoshop CS5 Object Library JS: DepthMapSource

Photoshop CS5

 Depth map source options.

Value

NameDescriptionValue
DepthMapSource.IMAGEHIGHLIGHTUses the image highlight for the depth map. int 4
DepthMapSource.LAYERMASKUses the layer mask for the depth map. int 3
DepthMapSource.NONENo depth map in use. int 1
DepthMapSource.TRANSPARENCYCHANNELUses the transparency channel for the depth map. int 2

Usage

In function

void ArtLayer.applyLensBlur ([source: DepthMapSource=DepthMapSource.NONE][, focalDistance: int=0][, invertDepthMap: bool=false][, shape: Geometry=Geometry.HEXAGON][, radius: int=15][, bladeCurvature: int=0][, rotation: int=0][, brightness: int=0][, threshold: int=0][, amount: int=0][, distribution: NoiseDistribution=NoiseDistribution.UNIFORM][, monochromatic: bool=false])

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