public class LuniResource extends LayerResource
Layer name resource
| Modifier and Type | Field and Description |
|---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature| 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.
|
toStringpublic static final int TypeToolKey
The type tool info key.
public LuniResource()
Initializes a new instance of the LuniResource class.
public final String getName()
Gets or sets the name.
Value: The name.public final void setName(String value)
Gets or sets the name.
Value: The name.public int getSignature()
Gets the layer resource signature.
getSignature in class LayerResourcepublic int getKey()
Gets the layer resource key.
getKey in class LayerResourcepublic int getLength()
Gets the layer resource length in bytes.
getLength in class LayerResourcepublic int getPsdVersion()
Gets the minimal psd version required for layer resource. 0 indicates no restrictions.
getPsdVersion in class LayerResourcepublic void save(StreamContainer streamContainer, int psdVersion)
Saves the specified stream container.
save in class LayerResourcestreamContainer - The stream container.psdVersion - The PSD version.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.