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

NameTypeAccessDescription
channelIdshortRead/WriteGets or sets the channel id.
dataLengthlongRead/WriteGets or sets the data length.
channelLengthlongReadReturns the declared byte length of the channel data payload.
idshortReadReturns the PSD channel identifier.
lengthlongReadReturns the declared length of the channel data payload.

Methods

SignatureDescription
LayerChannelInfo()Creates a new LayerChannelInfo instance.
LayerChannelInfo(channelId: short, dataLength: long)Creates a new LayerChannelInfo instance from channelId, dataLength.
getChannelId() → shortReturns the channel id.
setChannelId(channelId: short)Sets the channel id value.
getDataLength() → longReturns the data length.
setDataLength(dataLength: long)Sets the data length value.
getChannelLength() → longReturns the declared byte length of the channel data payload.
getId() → shortReturns the PSD channel identifier.
getLength() → longReturns the declared length of the channel data payload.

See Also