public class LyidResource extends LayerResource
Class LyidResource.
LayerResource| Modifier and Type | Field and Description |
|---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature| Constructor and Description |
|---|
LyidResource(byte[] bytes)
Initializes a new instance of the
LyidResource class. |
LyidResource(int id)
Initializes a new instance of the
LyidResource 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.
|
int |
getValue()
Gets the value.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves to the specified stream container.
|
toStringpublic static final int TypeToolKey
The type tool info key.
public LyidResource(int id)
Initializes a new instance of the LyidResource class.
id - The identifier of layer.public LyidResource(byte[] bytes)
Initializes a new instance of the LyidResource class.
With custom or unknown value
bytes - The bytes.PsdImageArgumentException - Invalid lyid Resource valuepublic final int getValue()
Gets the value.
Value: The value.public int getSignature()
Gets the 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 psd version.
getPsdVersion in class LayerResourcepublic void save(StreamContainer streamContainer, int psdVersion)
Saves to 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.