Skip to content

getPathSegmentsInfo

getPathSegmentsInfo(path): TPathSegmentInfo[]

Defined in: src/util/path/index.ts:682

Run over a parsed and simplified path and extract some information (length of each command and starting point)

Parameters

path

TSimplePathData

parsed path commands

Returns

TPathSegmentInfo[]

path commands information