fletcher.paths.trim-path()
Shorten a path from either end by subpath/segment index and -parameter (not by path length, see cetz.path-util.shorten-to for that).
fletcher.paths.trim-path( path, from, to, )
path
CeTZ drawable, a dictionary containing key "segments".
from
default
nonePath index (subpath-i, segment-i, t) to start the path from.
to
default
nonePath index (subpath-i, segment-i, t) to terminate the path at.