LayerChannelInfo
Overview
LayerChannelInfo is a class in Aspose.PSD FOSS for Java.
Stores one channel metadata entry from a layer record.
This class declares 9 methods for LayerChannelInfo objects in Java programs.
Available methods include: LayerChannelInfo, getChannelId, getChannelLength, getDataLength, getId, getLength, setChannelId, setDataLength.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: channelId, channelLength, dataLength, id, length.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
channelId | short | Read/Write | Gets or sets the channel id. |
dataLength | long | Read/Write | Gets or sets the data length. |
channelLength | long | Read | Returns the declared byte length of the channel data payload. |
id | short | Read | Returns the PSD channel identifier. |
length | long | Read | Returns the declared length of the channel data payload. |
Methods
| Signature | Description |
|---|---|
LayerChannelInfo() | Creates a new LayerChannelInfo instance. |
LayerChannelInfo(channelId: short, dataLength: long) | Creates a new LayerChannelInfo instance from channelId, dataLength. |
getChannelId() → short | Returns the channel id. |
setChannelId(channelId: short) | Sets the channel id value. |
getDataLength() → long | Returns the data length. |
setDataLength(dataLength: long) | Sets the data length value. |
getChannelLength() → long | Returns the declared byte length of the channel data payload. |
getId() → short | Returns the PSD channel identifier. |
getLength() → long | Returns the declared length of the channel data payload. |