LayerResource
Overview
LayerResource is a class in Aspose.PSD FOSS for Java.
Represents a PSD layer resource.
This class declares 5 methods for LayerResource objects in Java programs.
Available methods include: getKey, getLength, getPsdVersion, getSignature, save.
Public members are accessible to any Java application after installing the Aspose.PSD FOSS for Java package.
Properties: PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE, key, length, psdVersion, signature.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
key | int | Read | Gets the layer resource key. |
length | int | Read | Gets the layer resource length in bytes. |
psdVersion | int | Read | Gets the minimal PSD version required for the layer resource. |
signature | int | Read | Gets the layer resource signature. |
RESOURCE_SIGNATURE | int | Read | The common layer resource signature. |
PSB_RESOURCE_SIGNATURE | int | Read | The PSB-specific layer resource signature. |
Methods
| Signature | Description |
|---|---|
getKey() → int | Gets the layer resource key. |
getLength() → int | Gets the layer resource length in bytes. |
getPsdVersion() → int | Gets the minimal PSD version required for the layer resource. |
getSignature() → int | Gets the layer resource signature. |
save(streamContainer: StreamContainer, psdVersion: int) | Saves the layer resource to the specified stream container. |