add colors property in GradientColor

This commit is contained in:
王劲鹏
2020-05-09 10:50:07 +08:00
committed by osborn
parent 1c314bdb21
commit bcc66b51b9
4 changed files with 182 additions and 6 deletions

View File

@@ -41,7 +41,8 @@ export declare enum GradientOrientation {
TL_BR = 7
}
export interface GradientColor {
start: Color;
end: Color;
start?: Color;
end?: Color;
colors?: Array<Color>;
orientation: GradientOrientation;
}