UNPKG
gradient-utils
Version:
latest (0.1.0)
0.1.0
0.0.4
0.0.3
0.0.2
0.0.1
css and svg gradient utils
github.com/isergey87/gradient-utils
isergey87/gradient-utils
gradient-utils
/
convert-css-gradient-to-svg
/
types.d.ts
14 lines
(13 loc)
•
276 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export
interface
SVGColorStop
{
/** number in percent (0;100) */
offset
?:
number
;
stopColor
:
string
;
stopOpacity
?:
number
; }
export
interface
SVGLinearGradient
{
x1
:
string
;
y1
:
string
;
x2
:
string
;
y2
:
string
;
colorStops
:
SVGColorStop
[]; }