Creates animated transitions for view navigators that slide a display object
out of view, by animating the x
or y
property, while revealing an
existing display object that remains stationary below. The display object
may slide up, right, down, or left (or at an arbitrary angle).
1.0.0
.See also:
Constructor
new(angleDegrees:Float = 0.0, duration:Float = 0.5, ?ease:IEasing)
Creates a new RevealTransitionBuilder
object.
1.0.0
.Methods
build():(DisplayObject, DisplayObject) ‑> IEffectContext
Returns the transition function.
1.0.0
.setAngle(angleDegrees:Float):RevealTransitionBuilder
Sets the angle, measured in degrees, that the old view is translated during the transition.
1.0.0
.See also:
setDuration(duration:Float):RevealTransitionBuilder
Sets the duration of the animation, measured in seconds.
1.0.0
.setEase(ease:IEasing):RevealTransitionBuilder
Sets the easing function used for the animation.
1.0.0
.setInterruptBehavior(interruptBehavior:EffectInterruptBehavior):RevealTransitionBuilder
Sets the behavior of the transition when it is interrupted (whether it stops at the current position or jumps immediately to the end).
1.0.0
.setRadians(angleRadians:Float):RevealTransitionBuilder
Shortcut for setAngle(angleRadians * 180.0 / Math.PI)
.
1.0.0
.