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