Skip to content

Commit

Permalink
Fixed a minor mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
pklaschka authored Oct 3, 2018
1 parent 71ecfb7 commit 91e3312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/scenegraph.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -1121,4 +1121,4 @@ export {
Matrix,
Shadow,
Blur
}
}

0 comments on commit 91e3312

Please sign in to comment.