
**Inheritance:**
java.lang.Object, [com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths.VectorPathRecord](../../com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths/vectorpathrecord)
```
public class LengthRecord extends VectorPathRecord
```

Subpath Length Record Class
## Constructors

| Constructor | Description |
| --- | --- |
| [LengthRecord(byte[] data)](#LengthRecord-byte---) | Initializes a new instance of the [LengthRecord](../../com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths/lengthrecord) class. |
| [LengthRecord()](#LengthRecord--) | Initializes a new instance of the [LengthRecord](../../com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths/lengthrecord) class. |
## Methods

| Method | Description |
| --- | --- |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [getBezierKnotRecordsCount()](#getBezierKnotRecordsCount--) | Gets or sets the bezier knot records count. |
| [getClass()](#getClass--) |  |
| [getLength_internalized()](#getLength-internalized--) | Gets the length. |
| [getPathOperations()](#getPathOperations--) | Gets or sets the path operations. |
| [getRecordCount()](#getRecordCount--) | Gets or sets the record count. |
| [getShapeIndex()](#getShapeIndex--) | Gets or sets the index of current path shape in layer. |
| [getSourceData_internalized()](#getSourceData-internalized--) | Get original source data bytes. |
| [getType()](#getType--) | Gets the type. |
| [hashCode()](#hashCode--) |  |
| [isClosed()](#isClosed--) | Gets or sets a value indicating whether this instance is closed. |
| [isOpen()](#isOpen--) | Gets or sets a value indicating whether this instance is open. |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [setBezierKnotRecordsCount(int value)](#setBezierKnotRecordsCount-int-) | Gets or sets the bezier knot records count. |
| [setClosed(boolean value)](#setClosed-boolean-) | Gets or sets a value indicating whether this instance is closed. |
| [setOpen(boolean value)](#setOpen-boolean-) | Gets or sets a value indicating whether this instance is open. |
| [setPathOperations(int value)](#setPathOperations-int-) | Gets or sets the path operations. |
| [setRecordCount(int value)](#setRecordCount-int-) | Gets or sets the record count. |
| [setShapeIndex(int value)](#setShapeIndex-int-) | Gets or sets the index of current path shape in layer. |
| [toString()](#toString--) |  |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### LengthRecord(byte[] data) {#LengthRecord-byte---}
```
public LengthRecord(byte[] data)
```


Initializes a new instance of the [LengthRecord](../../com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths/lengthrecord) class.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| data | byte[] | The record data. |

### LengthRecord() {#LengthRecord--}
```
public LengthRecord()
```


Initializes a new instance of the [LengthRecord](../../com.aspose.psd.fileformats.psd.layers.layerresources.vectorpaths/lengthrecord) class.

### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### getBezierKnotRecordsCount() {#getBezierKnotRecordsCount--}
```
public final int getBezierKnotRecordsCount()
```


Gets or sets the bezier knot records count.

**Returns:**
int
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getLength_internalized() {#getLength-internalized--}
```
public final int getLength_internalized()
```


Gets the length.

Value: The length.

**Returns:**
int
### getPathOperations() {#getPathOperations--}
```
public final int getPathOperations()
```


Gets or sets the path operations.

**Returns:**
int
### getRecordCount() {#getRecordCount--}
```
public final int getRecordCount()
```


Gets or sets the record count.

Value: The record count.

**Returns:**
int
### getShapeIndex() {#getShapeIndex--}
```
public final int getShapeIndex()
```


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

**Returns:**
int
### getSourceData_internalized() {#getSourceData-internalized--}
```
public final byte[] getSourceData_internalized()
```


Get original source data bytes.

**Returns:**
byte[] - byte array.
### getType() {#getType--}
```
public short getType()
```


Gets the type.

Value: The type.

**Returns:**
short
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### isClosed() {#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
### isOpen() {#isOpen--}
```
public final boolean isOpen()
```


Gets or sets a value indicating whether this instance is open.

Value:  true  if this instance is open; otherwise,  false .

**Returns:**
boolean
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### setBezierKnotRecordsCount(int value) {#setBezierKnotRecordsCount-int-}
```
public final void setBezierKnotRecordsCount(int value)
```


Gets or sets the bezier knot records count.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setClosed(boolean value) {#setClosed-boolean-}
```
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 |  |

### setOpen(boolean value) {#setOpen-boolean-}
```
public final void setOpen(boolean value)
```


Gets or sets a value indicating whether this instance is open.

Value:  true  if this instance is open; otherwise,  false .

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean |  |

### setPathOperations(int value) {#setPathOperations-int-}
```
public final void setPathOperations(int value)
```


Gets or sets the path operations.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setRecordCount(int value) {#setRecordCount-int-}
```
public final void setRecordCount(int value)
```


Gets or sets the record count.

Value: The record count.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### setShapeIndex(int value) {#setShapeIndex-int-}
```
public final void setShapeIndex(int value)
```


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

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int |  |

### toString() {#toString--}
```
public String toString()
```




**Returns:**
java.lang.String
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

