js: add locations in gradient color
This commit is contained in:
@@ -94,6 +94,7 @@ export interface GradientColor {
|
||||
start?: Color
|
||||
end?: Color
|
||||
colors?: Array<Color>
|
||||
locations?: Array<Number>
|
||||
orientation: GradientOrientation
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user