- core
- Context
- ElementAllocator
- ElementOutput
- Engine
- Entity
- EventEmitter
- EventHandler
- Group
- Modifier
- OptionsManager
- RenderNode
- Scene
- SpecParser
- Transform
- View
- ViewSequence
- events
- EventArbiter
- EventFilter
- EventMapper
- inputs
- Accumulator
- GenericSync
- MouseSync
- PinchSync
- RotateSync
- ScaleSync
- ScrollSync
- TouchSync
- TouchTracker
- TwoFingerSync
- math
- Matrix
- Quaternion
- Random
- Utilities
- Vector
- modifiers
- Draggable
- Fader
- ModifierChain
- StateModifier
- physics
- PhysicsEngine
- physics/bodies
- Body
- Circle
- Particle
- Rectangle
- physics/constraints
- Surface
- Collision
- Constraint
- Curve
- Distance
- Snap
- Wall
- Walls
- physics/forces
- Drag
- Force
- Repulsion
- RotationalDrag
- RotationalSpring
- Spring
- VectorField
- physics/integrators
- SymplecticEuler
- surfaces
- CanvasSurface
- ContainerSurface
- ImageSurface
- InputSurface
- TextareaSurface
- VideoSurface
- transitions
- CachedMap
- Easing
- MultipleTransition
- SnapTransition
- SpringTransition
- Transitionable
- TransitionableTransform
- TweenTransition
- WallTransition
- utilities
- KeyCodes
- Timer
- Utility
- views
- ContextualView
- Deck
- DrawerLayout
- EdgeSwapper
- FlexibleLayout
- Flipper
- GridLayout
- HeaderFooterLayout
- Lightbox
- RenderController
- ScrollContainer
- Scroller
- Scrollview
- SequentialLayout
- widgets
- NavigationBar
- TabBar
TransitionableTransform
A class for transitioning the state of a Transform by transitioning its translate, scale, skew and rotate components independently.
Overview
Options
Methods
setTranslate
setScale
setRotate
setSkew
set
setDefaultTransition
get
getFinal
isActive
halt
TransitionableTransform(transform)
Constructor Parameters
transform
Transform
The initial transform state
Methods
setTranslate(translate, transition, callback)
An optimized way of setting only the translation component of a Transform
Parameters
translate
Array
New translation state
transition
Object
Transition definition
callback
Function
Callback
Returns
TransitionableTransform
setScale(scale, transition, callback)
An optimized way of setting only the scale component of a Transform
Parameters
scale
Array
New scale state
transition
Object
Transition definition
callback
Function
Callback
Returns
TransitionableTransform
setRotate(eulerAngles, transition, callback)
An optimized way of setting only the rotational component of a Transform
Parameters
eulerAngles
Array
Euler angles for new rotation state
transition
Object
Transition definition
callback
Function
Callback
Returns
TransitionableTransform
setSkew(skewAngles, transition, callback)
An optimized way of setting only the skew component of a Transform
Parameters
skewAngles
Array
New skew state
transition
Object
Transition definition
callback
Function
Callback
Returns
TransitionableTransform
set(transform, transition, callback)
Setter for a TransitionableTransform with optional parameters to transition between Transforms
Parameters
transform
Array
New transform state
transition
Object
Transition definition
callback
Function
Callback
Returns
TransitionableTransform
setDefaultTransition(transition)
Sets the default transition to use for transitioning betwen Transform states
Parameters
transition
Object
Transition definition
get()
Getter. Returns the current state of the Transform
Returns
Transform
getFinal()
Get the destination state of the Transform
Returns
Transform
Transform
isActive()
Determine if the TransitionalTransform is currently transitioning
Returns
Boolean
halt()
Halts the transition