[]
Gets the accumulated length up to the indicated index (not including).
public double GetOffset(int index)
| Type | Name | Description |
|---|---|---|
| int | index | The index. |
| Type | Description |
|---|---|
| double |
Gets the accumulated length between the specified indexes (including both).
public double GetOffset(int from, int to)
| Type | Name | Description |
|---|---|---|
| int | from | The starting index. |
| int | to | The ending index. |
| Type | Description |
|---|---|
| double |