From 91e3312a48050b2f62ec12f7bc80638c28fb4286 Mon Sep 17 00:00:00 2001 From: Pablo Klaschka Date: Wed, 3 Oct 2018 13:49:01 +0200 Subject: [PATCH] Fixed a minor mistake --- types/scenegraph.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/scenegraph.d.ts b/types/scenegraph.d.ts index 379c91b..2c75912 100644 --- a/types/scenegraph.d.ts +++ b/types/scenegraph.d.ts @@ -207,7 +207,7 @@ declare class LinearGradientFill { /** * Array of objects representing each color and its position along the gradient line. The position (stop value) is a number 0.0 - 1.0. */ - public colorStops: Color[]; + public colorStops: {color:Color,stop:number}[]; /** * X position of the start of the gradient line, as a multiple of the object's bounding box: X=0 indicates the left edge of the bounding box and X=1 indicates the right edge. The gradient line may start or end outside the object's bounding box, so values may be < 0 or > 1. @@ -1121,4 +1121,4 @@ export { Matrix, Shadow, Blur -} \ No newline at end of file +}