public class IopaResource extends LayerResource
Class IopaResource. This resource contains information about the fill opacity property from the layer style form
LayerResource| Modifier and Type | Field and Description |
|---|---|
static int |
TypeToolKey
The type tool info key.
|
PsbResourceSignature, ResourceSignature| Constructor and Description |
|---|
IopaResource()
Initializes a new instance of the
IopaResource class. |
IopaResource(byte[] data)
Initializes a new instance of the
IopaResource class. |
| Modifier and Type | Method and Description |
|---|---|
byte |
getFillOpacity()
Gets or sets the fill opacity.
|
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.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
void |
setFillOpacity(byte value)
Gets or sets the fill opacity.
|
toStringpublic static final int TypeToolKey
The type tool info key.
public IopaResource()
Initializes a new instance of the IopaResource class.
public IopaResource(byte[] data)
Initializes a new instance of the IopaResource class.
data - The raw byte data.PsdImageArgumentException - Invalid iOpa Resource data. Expected length of iOpaResource is 4public final byte getFillOpacity()
Gets or sets the fill opacity.
Value: The fill opacity.public final void setFillOpacity(byte value)
Gets or sets the fill opacity.
Value: The fill opacity.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 the resource to the specified stream container.
save in class LayerResourcestreamContainer - The stream container to save to.psdVersion - The PSD version.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.