feat:fix Android animation problem

This commit is contained in:
pengfei.zhou
2019-11-29 20:47:42 +08:00
parent 7e8708a73b
commit 6b4bc9cd0f
3 changed files with 24 additions and 1 deletions

View File

@@ -20,9 +20,27 @@ export enum RepeatMode {
}
export class Animation {
translationX?: number
translationY?: number
scaleX?: number
scaleY?: number
pivotX?: number
pivotY?: number
rotation?: number
duration = 100
startDelay = 0
repeatCount = 1
repeatMode = RepeatMode.RESTART
}