public abstract class VectorPathDataResource extends LayerResource
Class VectorPathDataResource. This resource contains information about vector layer mask
LayerResource
PSB_RESOURCE_SIGNATURE, RESOURCE_SIGNATURE
Modifier and Type | Method and Description |
---|---|
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.
|
getKey, toString
public 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 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.