Core · function
curveSpanSec
Source seconds a whole segment consumes — durationSec for every kind, and
worth asking for rather than assuming: a caller composing segments needs the
answer the curve actually gives, not the one it promises.
Explained in The loop.
function curveSpanSec(curve: TimeCurve): numberimport { curveSpanSec } from '@driftengine/core';Parameters
| Parameter | Type | Description |
|---|---|---|
curve | TimeCurve |