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

ConstructorDescription
PathShape()Initializes a new instance of the PathShape class.
PathShape(LengthRecord lengthRecord, BezierKnotRecord[] bezierKnotRecords)Initializes a new instance of the PathShape class.

Methods

MethodDescription
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:

ParameterTypeDescription
lengthRecordLengthRecordThe length record.
bezierKnotRecordsBezierKnotRecord[]The bezier knot records.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueboolean

setItems(BezierKnotRecord[] bezierPoints)

public final void setItems(BezierKnotRecord[] bezierPoints)

Assigns array of Bezier knots.

Parameters:

ParameterTypeDescription
bezierPointsBezierKnotRecord[]Array of bezier knots

setPathOperations(int value)

public final void setPathOperations(int value)

Gets or sets the path operations (Boolean operations).

Parameters:

ParameterTypeDescription
valueint

setShapeIndex(int value)

public final void setShapeIndex(int value)

Gets or sets the index of current path shape in layer.

Parameters:

ParameterTypeDescription
valueint

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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int