PhotoshopCC 2015.5
Object

Channel

Object that stores information about a color element in the image, analogous to a plate in the printing process that applies a single color. The document's color mode determines the number of default channels. For example, an RGB document has four default channels: A composite channel: RGB; and three component channels: red, green, and blue. A channel can also be an alpha channel, which stores selections as masks; or a spot channel, which stores spot colors.

Properties

NameType AccessDescription
SolidColor read/write The color of the channel. Not valid for component channels.
Int[] readonly A histogram of the color of the channel.
ChannelType
read/write The type of channel.
String read/write The channel name.
Number 0–100 read/write The opacity of alpha channels (called solidity for spot channels). Range: 0 to 100. Valid only when 'type' = masked area or selected area.
The readonly The object's container.
String readonly The class name of the object.
Boolean read/write If true, the channel is visible.

Methods

Channel

Adds an element.

Channel

Duplicates the channel.

targetDocument? Document The document to duplicate the channel to.
void

Merges a spot channel into the component channels.

void

Deletes this object.

void

Deletes all elements.

Object of 3

Properties elsewhere that hold a Channel.

Parameter of 3

Method parameters that accept a Channel.

Return 6

Methods that return a Channel.