public class VmskResource extends LayerResource
Class VmskResource. This resource contains information about vector layer mask
LayerResource
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_TOOL_KEY
The type tool info key.
|
RESOURCE_SIGNATURE
Constructor and Description |
---|
VmskResource(byte[] data)
Initializes a new instance of the
VmskResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getKey()
Gets the layer resource key.
|
int |
getLength()
Gets the layer resource length in bytes.
|
VectorPathRecord[] |
getPaths()
Gets the paths.
|
int |
getPsdVersion()
Gets the psd version.
|
int |
getSignature()
Gets the signature.
|
int |
getVersion()
Gets the version.
|
boolean |
isDisabled()
Gets a value indicating whether this instance is disabled.
|
boolean |
isInverted()
Gets a value indicating whether this instance is inverted.
|
boolean |
isNotLinked()
Gets a value indicating whether this instance is not linked.
|
void |
save(StreamContainer streamContainer,
int psdVersion)
Saves the resource to the specified stream container.
|
void |
setDisabled(boolean value)
Sets a value indicating whether this instance is disabled.
|
void |
setInverted(boolean value)
Sets a value indicating whether this instance is inverted.
|
void |
setNotLinked(boolean value)
Sets a value indicating whether this instance is not linked.
|
void |
setPaths(VectorPathRecord[] value)
Sets the paths.
|
void |
setVersion(int value)
Sets the version.
|
toString
public static final int TYPE_TOOL_KEY
The type tool info key.
public VmskResource(byte[] data)
Initializes a new instance of the VmskResource
class.
data
- The resource data.PsdImageArgumentException
- Invalid Vmsk Resource valuepublic final VectorPathRecord[] getPaths()
Gets the paths.
public final void setPaths(VectorPathRecord[] value)
Sets the paths.
value
- the paths.public final int getVersion()
Gets the version.
public final void setVersion(int value)
Sets the version.
value
- the version.public final boolean isDisabled()
Gets a value indicating whether this instance is disabled.
public final void setDisabled(boolean value)
Sets a value indicating whether this instance is disabled.
value
- a value indicating whether this instance is disabled.public final boolean isNotLinked()
Gets a value indicating whether this instance is not linked.
public final void setNotLinked(boolean value)
Sets a value indicating whether this instance is not linked.
value
- a value indicating whether this instance is not linked.public final boolean isInverted()
Gets a value indicating whether this instance is inverted.
public final void setInverted(boolean value)
Sets a value indicating whether this instance is inverted.
value
- a value indicating whether this instance is inverted.public int getSignature()
Gets the 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 psd version.
getPsdVersion
in class LayerResource
public void save(StreamContainer streamContainer, int psdVersion)
Saves the resource to the specified stream container.
save
in class LayerResource
streamContainer
- The stream container to save to.psdVersion
- The PSD version.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.