Function
along
function along(stops: StopInput[], options?: Omit<GradientOptions, "stops" | "units">): PathGradient;
Gradient that follows a stroke from its first point (t = 0) to its last (t = 1).
Parameters#
| Parameter | Type |
|---|---|
stops | StopInput[] |
options | Omit<GradientOptions, "stops" | "units"> |