Adobe Photoshop CS5 Object Library JS: SelectionType

Photoshop CS5

 The selection behavior when a selection already exists.

Value

NameDescriptionValue
SelectionType.DIMINISHRemove the selection from the already selected area. int 3
SelectionType.EXTENDAdd the selection to an already selected area. int 2
SelectionType.INTERSECTMake the selection only the area where the new selection intersects the already selected area. int 4
SelectionType.REPLACEReplace the selected area. int 1

Usage

In function

void PathItem.makeSelection ([feather: number][, antiAlias: bool][, operation: SelectionType])

void Selection.load (from: Channel[, combination: SelectionType=SelectionType.REPLACE][, inverting: bool=false])

void Selection.select (region: Array of any[, type: SelectionType=SelectionType.REPLACE][, feather: number=0][, antiAlias: bool=true])

void Selection.store (into: Channel[, combination: SelectionType=SelectionType.REPLACE])

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