public final class WorkingPathResource extends ResourceBlock implements IVectorPathData
Working path resource.
ResourceBlock.ResourceBlockState
ResouceBlockMeSaSignature, ResouceBlockSignature
Constructor and Description |
---|
WorkingPathResource(byte[] dataBytes)
Initializes a new instance of the
WorkingPathResource class. |
Modifier and Type | Method and Description |
---|---|
int |
getDataSize()
Gets the resource data size in bytes.
|
int |
getMinimalVersion()
Gets the minimal required PSD version.
|
VectorPathRecord[] |
getPaths()
Gets or sets the path records.
|
int |
getVersion()
Gets or sets the version.
|
boolean |
isDisabled()
Gets or sets a value indicating whether this instance is disabled.
|
boolean |
isInverted()
Gets or sets a value indicating whether this instance is inverted.
|
boolean |
isNotLinked()
Gets or sets a value indicating whether this instance is not linked.
|
void |
setDisabled(boolean value)
Gets or sets a value indicating whether this instance is disabled.
|
void |
setInverted(boolean value)
Gets or sets a value indicating whether this instance is inverted.
|
void |
setNotLinked(boolean value)
Gets or sets a value indicating whether this instance is not linked.
|
void |
setPaths(VectorPathRecord[] value)
Gets or sets the path records.
|
void |
setVersion(int value)
Gets or sets the version.
|
getID, getName, getSignature, getSize, save, setID, setName, validateValues
public WorkingPathResource(byte[] dataBytes)
Initializes a new instance of the WorkingPathResource
class.
dataBytes
- The data of the vector path.public int getDataSize()
Gets the resource data size in bytes.
Value: The resource data size.getDataSize
in class ResourceBlock
public int getMinimalVersion()
Gets the minimal required PSD version.
Value: The minimal PSD version.getMinimalVersion
in class ResourceBlock
public final VectorPathRecord[] getPaths()
Gets or sets the path records.
Value: The paths.getPaths
in interface IVectorPathData
public final void setPaths(VectorPathRecord[] value)
Gets or sets the path records.
Value: The paths.setPaths
in interface IVectorPathData
public final int getVersion()
Gets or sets the version.
Value: The version.getVersion
in interface IVectorPathData
public final void setVersion(int value)
Gets or sets the version.
Value: The version.setVersion
in interface IVectorPathData
public final boolean isDisabled()
Gets or sets a value indicating whether this instance is disabled.
Value:true
if this instance is disabled; otherwise, false
.isDisabled
in interface IVectorPathData
public final void setDisabled(boolean value)
Gets or sets a value indicating whether this instance is disabled.
Value:true
if this instance is disabled; otherwise, false
.setDisabled
in interface IVectorPathData
public final boolean isNotLinked()
Gets or sets a value indicating whether this instance is not linked.
Value:true
if this instance is not linked; otherwise, false
.isNotLinked
in interface IVectorPathData
public final void setNotLinked(boolean value)
Gets or sets a value indicating whether this instance is not linked.
Value:true
if this instance is not linked; otherwise, false
.setNotLinked
in interface IVectorPathData
public final boolean isInverted()
Gets or sets a value indicating whether this instance is inverted.
Value:true
if this instance is inverted; otherwise, false
.isInverted
in interface IVectorPathData
public final void setInverted(boolean value)
Gets or sets a value indicating whether this instance is inverted.
Value:true
if this instance is inverted; otherwise, false
.setInverted
in interface IVectorPathData