handle shadow

This commit is contained in:
pengfei.zhou
2019-08-02 17:11:35 +08:00
parent f64340ade7
commit 9a94ed5dda
4 changed files with 64 additions and 6 deletions

View File

@@ -35,7 +35,7 @@ export abstract class View implements Modeling {
border?: { width: number; color: Color; }
@Property
shadow?: { color: Color; opacity: number; radius: number; offset: { width: number; height: number; }; }
shadow?: { color: Color; opacity: number; radius: number; offsetX: number; offsetY: number }
@Property
alpha?: number