API Reference | developer.brewmp.com API Reference | developer.brewmp.com


API Reference


Brew Release
Brew MP 1.0.2
See Also
ITransitionMgr Interface
The base transition2 interface is an abstract interface from which transition implementations should be based. The transition2 interface acts as timed event that can be used to schedule events or can be used as a gradual modifier of another object, providing a special visual effect to the object it wraps. For example a transition could create the effect of an object disappearing as a cloud of smoke, or flying around the screen in accordance to some wild path of vectors. Three basic transitions are provided by default, the fader transition, the mover transition, and the resizer transition, each of which is described below.
Each transition implementation is defined by its effect and duration. For example, the mover transition has the effect of moving a wrapped object from one point to another over a specific period of time. Likewise, the fader transition has the effect of applying a fade out effect to a wrapped object, gradually over some period of time. The interface provides APIs for stepping a transition effect and supplying notification at the completion of a transition effect. A transition is a passive object; it cannot do anything on its own. In order to progress through a transition, it must be inserted within a transition manager or be manually stepped by an application. The manager will be responsible for sending the step events to the transition. Please refer to ITransitionMgr interface for more details on how to customize managers.