js: add locations in gradient color
This commit is contained in:
1
doric-js/index.d.ts
vendored
1
doric-js/index.d.ts
vendored
@@ -959,6 +959,7 @@ declare module 'doric/lib/src/util/color' {
|
||||
start?: Color;
|
||||
end?: Color;
|
||||
colors?: Array<Color>;
|
||||
locations?: Array<Number>;
|
||||
orientation: GradientOrientation;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user