public final class Lfx2Resource extends LayerResource
| Modifier and Type | Field and Description |
|---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature| Constructor and Description |
|---|
Lfx2Resource() |
| Modifier and Type | Method and Description |
|---|---|
long |
getBlendMode()
Gets the blend mode.
|
byte[] |
getData()
Gets or sets the data.
|
int |
getDescriptorVersion()
Gets the descriptor version.
|
Color |
getEffectColor()
Gets the color of the effect.
|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
double |
getOpacity()
Gets the opacity.
|
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 resource to the specified stream container.
|
void |
setBlendMode(long value) |
void |
setData(byte[] value) |
void |
setEffectColor(Color value) |
void |
setOpacity(double value) |
toStringpublic static final int TypeToolKey
public int getSignature()
getSignature in class LayerResourcepublic int getKey()
getKey in class LayerResourcepublic int getDescriptorVersion()
The descriptor version.
public int getLength()
getLength in class LayerResourcepublic int getPsdVersion()
getPsdVersion in class LayerResourcepublic byte[] getData()
The data.
public void setData(byte[] value)
public long getBlendMode()
The blend mode.
BlendMode.public void setBlendMode(long value)
public Color getEffectColor()
The color of the effect.
public void setEffectColor(Color value)
public double getOpacity()
The opacity.
public void setOpacity(double value)
public void save(StreamContainer streamContainer, int psdVersion)
save in class LayerResourcestreamContainer - The stream container to save to.psdVersion - The PSD version.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.