Package libavg :: Module anim

Module anim

Deprecated framework for time-based animations - there is a better framework in the avg module.

Classes
  SimpleAnim
Deprecated.
  LinearAnim
Deprecated.
  EaseInOutAnim
  SplineAnim
Deprecated.
  ContinuousAnim
Deprecated.
  WaitAnim
  ParallelAnim
  StateAnim
  AnimTransition
Functions
 
getNumRunningAnims()
 
abortAnim(node, attrName)
 
deprecationWarning()
 
fadeOut(node, duration, onStop=None)
Deprecated.
 
fadeIn(node, duration, max=1.0, onStop=None)
Deprecated.
 
init(g_avg)
Variables
  g_Player = None
  g_ActiveAnimations = {}
  g_DeprecationWarned = False
  __package__ = 'libavg'
Function Details

fadeOut(node, duration, onStop=None)

 

Deprecated. Fades the opacity of a node to zero.

Parameters:
  • node - The node to fade.
  • duration - Length of the fade in milliseconds.

fadeIn(node, duration, max=1.0, onStop=None)

 

Deprecated. Fades the opacity of a node.

Parameters:
  • node - The node to fade.
  • duration - Length of the fade in milliseconds.
  • max - The opacity of the node at the end of the fade.