Home > @jsplumbtoolkit/core > Path > getNodeAt
#
Path.getNodeAt() methodGets the Vertex at the given index in the path.
Signature:
getNodeAt(idx: number): Vertex;
#
ParametersParameter | Type | Description |
---|---|---|
idx | number | Index of the vertex to retrieve. |
Returns:
vertex at the given index, or null if no vertex exists at the given index.