Creates transitions for view navigators that wipe a display object out of view, revealing another display object under the first. Both display objects remain stationary while the effect animates a mask. The mask may be animated up, right, down, or left (or at an arbitrary angle).

Available since

1.0.0

.

See also:

Constructor

@:value({ duration : 0.5, angleDegrees : 0.0 })new(angleDegrees:Float = 0.0, duration:Float = 0.5, ?ease:IEasing)

Creates a new WipeTransitionBuilder object.

Available since

1.0.0

.

Methods

build():(DisplayObject, DisplayObject) ‑> IEffectContext

Returns the transition function.

Available since

1.0.0

.

setAngle(angleDegrees:Float):WipeTransitionBuilder

Sets the angle, measured in degrees, that the mask is translated during the transition.

Available since

1.0.0

.

See also:

setDown():WipeTransitionBuilder

Shortcut for setAngle(270.0).

Available since

1.0.0

.

setDuration(duration:Float):WipeTransitionBuilder

Sets the duration of the animation, measured in seconds.

Available since

1.0.0

.

setEase(ease:IEasing):WipeTransitionBuilder

Sets the easing function used for the animation.

Available since

1.0.0

.

setInterruptBehavior(interruptBehavior:EffectInterruptBehavior):WipeTransitionBuilder

Sets the behavior of the transition when it is interrupted (whether it stops at the current position or jumps immediately to the end).

Available since

1.0.0

.

setLeft():WipeTransitionBuilder

Shortcut for setAngle(180.0).

Available since

1.0.0

.

setRadians(angleRadians:Float):WipeTransitionBuilder

Shortcut for setAngle(angleRadians * 180.0 / Math.PI).

Available since

1.0.0

.

setRight():WipeTransitionBuilder

Shortcut for setAngle(0.0).

Available since

1.0.0

.

setUp():WipeTransitionBuilder

Shortcut for setAngle(90.0).

Available since

1.0.0

.