Appearance
anim-format (runtime format) / gradientSpreadRatio
Function: gradientSpreadRatio()
ts
function gradientSpreadRatio(t, g): number;An offset after the gradient's spread, in 0..1. Radial gradients have no "repeat" (it reads as pad).
Parameters
| Parameter | Type |
|---|---|
t | number |
g | Pick<AnimGradient, "type" | "spread"> |
Returns
number