Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AnimationOptions

Options to set directly when adding an animation.

Hierarchy

  • AnimationOptions

Index

Properties

Properties

panX

panX: number

Horizontal position of image in canvas. 0 = center, -1 = left, 1 = right.

default

0.0

panY

panY: number

Vertical position of image in canvas. 0 = center, -1 = bottom, 1 = top.

default

0.0

zIndex

zIndex: number

Adds a stacking order to the rendering elements, this helps when stacking multiple animations on top of eachother.

default

0

zoom

zoom: number

Zoom level. 1 = 100%, 1.5 is 150%, 0.5 = 50% zoom.

default

1.0

Generated using TypeDoc