public class CmlsResource extends LayerResource
Class CmlsResource.
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature
Constructor and Description |
---|
CmlsResource(byte[] data)
Initializes a new instance of the
CmlsResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
int |
getPsdVersion()
Gets the psd version.
|
int |
getSignature()
Gets the signature.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
toString
public static final int TypeToolKey
The type tool info key.
public CmlsResource(byte[] data)
Initializes a new instance of the CmlsResource
class.
data
- The data of the resource.public int getKey()
Gets the layer resource key.
getKey
in class LayerResource
public int getSignature()
Gets the signature.
getSignature
in class LayerResource
public int getLength()
Gets the layer resource length in bytes.
getLength
in class LayerResource
public int getPsdVersion()
Gets the psd version.
getPsdVersion
in class LayerResource
public void save(StreamContainer streamContainer, int psdVersion)
Saves the resource to the specified stream container.
save
in class LayerResource
streamContainer
- The stream container to save to.psdVersion
- The PSD version.