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

@@ -91,8 +91,9 @@ export enum GradientOrientation {
}
export interface GradientColor {
start: Color
end: Color
start?: Color
end?: Color
colors?: Array<Color>
orientation: GradientOrientation
}