Function
vertical
function vertical(stops: StopInput[], options?: Omit<LinearGradientOptions, "stops" | "from" | "to">): LinearGradient;
Top-to-bottom linear gradient across the painted shape.
Parameters#
| Parameter | Type |
|---|---|
stops | StopInput[] |
options | Omit<LinearGradientOptions, "stops" | "from" | "to"> |