public final class VectorPathData extends Object implements IVectorPathData
The class to work with a vector path.
Constructor and Description |
---|
VectorPathData()
Initializes a new instance of the
VectorPathData class. |
VectorPathData(byte[] data)
Initializes a new instance of the
VectorPathData class. |
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Gets the vector path data length in the resource as bytes.
|
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.
|
public VectorPathData(byte[] data)
Initializes a new instance of the VectorPathData
class.
data
- The resource data.PsdImageArgumentException
- Invalid VectorPathData Resource valuepublic VectorPathData()
Initializes a new instance of the VectorPathData
class.
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
public final int getLength()
Gets the vector path data length in the resource as bytes.
Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.