Selection in Photoshop DOM

The selection of the document.

Instance Properties

name type description
parent Object (read only)
typename String (read only)

Instance Methods

name returns description
copy() (none) copy selection to the clipboard
clear() (none) clear selection
contract() (none) contracts the selection
deselect() (none) expand
expand selection() (none)
feather() (none) feather edges of selection
fill() (none) fills the selection
grow() (none) grow selection to include all adjacent pixels falling within the specified toler44
ance range() (none)
load() (none) load the selection from a channel
resizeBoundary() (none) scale the boundary of selection
rotateBoundary() (none) rotates the boundary of selection
selectAll() (none)
selectBorder() (none) select the border of the selection
similar() (none) grow selection to include pixels throughout the image falling within the tolerance range
smooth() (none)
store() (none) save the selection as a channel
stroke() (none) strokes the selection
translateBoundary() (none) moves the boundary of selection relative to its current position
select() (none) Select a new area.

Properties that are a Selection

name object description
selection Document (read only) the document's selection