documentation index ◦ reference manual ◦ function index
define.move_transitions
Function: |
define.move_transitions |
(prefix, delay, time_warp=None, in_time_warp=None, out_time_warp=None): |
This defines a family of move transitions, similar to the move and ease transitions. For a given prefix, this defines the transitions:
- prefix - A transition that takes delay seconds to move images that changed positions to their new locations.
- prefixinleft, prefixinright, prefixintop, prefixinbottom - A transition that takes delay seconds to move images that changed positions to their new locations, with newly shown images coming in from the appropriate side.
- prefixoutleft, prefixoutright, prefixoutop, prefixoutbottom - A transition that takes delay seconds to move images that changed positions to their new locations, with newly hidden images leaving via the appropriate side.
time_warp, in_time_warp, out_time_warp - The time_warp argument supplied to Move for images remaining on the screen, newly shown images, and newly hidden images (respectively).
Example
init:
$ define.move_transitions('realslowmove', 2.0)
start:
show eileen happy
with realslowmoveinright
documentation index ◦ reference manual ◦ function index