PathShape
Inheritance: java.lang.Object
All Implemented Interfaces: com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths.IPathShape
public class PathShape implements IPathShape
The figure from the knots of the Bezier curve.
Constructors
| Constructor | Description |
|---|---|
| PathShape() | Initializes a new instance of the PathShape class. |
| PathShape(LengthRecord lengthRecord, BezierKnotRecord[] bezierKnotRecords) | Initializes a new instance of the PathShape class. |
Methods
| Method | Description |
|---|---|
| equals(Object arg0) | |
| getClass() | |
| getItems() | Gets array of Bezier knots. |
| getPathOperations() | Gets or sets the path operations (Boolean operations). |
| getShapeIndex() | Gets or sets the index of current path shape in layer. |
| hashCode() | |
| isClosed() | Gets or sets a value indicating whether this instance is closed. |
| notify() | |
| notifyAll() | |
| setClosed(boolean value) | Gets or sets a value indicating whether this instance is closed. |
| setItems(BezierKnotRecord[] bezierPoints) | Assigns array of Bezier knots. |
| setPathOperations(int value) | Gets or sets the path operations (Boolean operations). |
| setShapeIndex(int value) | Gets or sets the index of current path shape in layer. |
| toString() | |
| toVectorPathRecords() | Creates the VectorPathRecord records based on this instance. |
| wait() | |
| wait(long arg0) | |
| wait(long arg0, int arg1) |
PathShape()
public PathShape()
Initializes a new instance of the PathShape class.
PathShape(LengthRecord lengthRecord, BezierKnotRecord[] bezierKnotRecords)
public PathShape(LengthRecord lengthRecord, BezierKnotRecord[] bezierKnotRecords)
Initializes a new instance of the PathShape class.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| lengthRecord | LengthRecord | The length record. |
| bezierKnotRecords | BezierKnotRecord[] | The bezier knot records. |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getItems()
public final BezierKnotRecord[] getItems()
Gets array of Bezier knots.
Returns: com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths.BezierKnotRecord[] - Array of BezierKnotRecord
getPathOperations()
public final int getPathOperations()
Gets or sets the path operations (Boolean operations).
Returns: int
getShapeIndex()
public final int getShapeIndex()
Gets or sets the index of current path shape in layer.
Returns: int
hashCode()
public native int hashCode()
Returns: int
isClosed()
public final boolean isClosed()
Gets or sets a value indicating whether this instance is closed.
Value: true if this instance is closed; otherwise, false .
Returns: boolean
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setClosed(boolean value)
public final void setClosed(boolean value)
Gets or sets a value indicating whether this instance is closed.
Value: true if this instance is closed; otherwise, false .
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean |
setItems(BezierKnotRecord[] bezierPoints)
public final void setItems(BezierKnotRecord[] bezierPoints)
Assigns array of Bezier knots.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| bezierPoints | BezierKnotRecord[] | Array of bezier knots |
setPathOperations(int value)
public final void setPathOperations(int value)
Gets or sets the path operations (Boolean operations).
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
setShapeIndex(int value)
public final void setShapeIndex(int value)
Gets or sets the index of current path shape in layer.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int |
toString()
public String toString()
Returns: java.lang.String
toVectorPathRecords()
public final System.Collections.Generic.IGenericEnumerable<VectorPathRecord> toVectorPathRecords()
Creates the VectorPathRecord records based on this instance.
Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerable<com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths.VectorPathRecord> - Returns one LengthRecord and BezierKnotRecord for each point in this instance.
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| arg0 | long | |
| arg1 | int |