public class LuniResource extends LayerResource
Layer name resource
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_TOOL_KEY
The type tool info key.
|
PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE
Constructor and Description |
---|
LuniResource()
Initializes a new instance of the
LuniResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
String |
getName()
Gets or sets the name.
|
int |
getPsdVersion()
Gets the minimal psd version required for layer resource.
|
int |
getSignature()
Gets the layer resource signature.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the specified stream container.
|
void |
setName(String value)
Gets or sets the name.
|
toString
public static final int TYPE_TOOL_KEY
The type tool info key.
public LuniResource()
Initializes a new instance of the LuniResource
class.
public String getName()
Gets or sets the name.
Value: The name.public void setName(String value)
Gets or sets the name.
Value: The name.public int getSignature()
Gets the layer resource signature.
getSignature
in class LayerResource
public int getKey()
Gets the layer resource key.
getKey
in class LayerResource
public int getLength()
Gets the layer resource length in bytes.
getLength
in class LayerResource
public int getPsdVersion()
Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
getPsdVersion
in class LayerResource
public void save(StreamContainer streamContainer, int psdVersion)
Saves the specified stream container.
save
in class LayerResource
streamContainer
- The stream container.psdVersion
- The PSD version.