Properties
shape
shape: DisplayObject
Methods
getAttr
- getAttr(attr: string): any
move
- move(offsetX: number, offsetY: number): void
-
Parameters
-
offsetX: number
-
offsetY: number
Returns
void
rotate
- rotate(offsetAngle: number): void
scale
- scale(x: number, y: number): void
setPivot
- setPivot(x: number, y: number): void
setPostion
- setPostion(x: number, y: number): void
setRotation
- setRotation(angle: number): void
tween
- tween(duration: number, to: any, easing?: function): Tween
-
Parameters
-
duration: number
-
to: any
-
Optional easing: function
-
- (t: number, b: number, c: number, d: number): number
-
Parameters
-
t: number
-
b: number
-
c: number
-
d: number
Returns
number