Click or drag to resize

Transition Class

Lets you perform animated transitions of properties on arbitrary objects. These will often be transitions of UI properties, for example an animated fade-in of a UI object, or an animated move of a UI object from one position to another. Each transition can simulataneously change multiple properties, including properties across multiple objects. Example transition ------------------ a. Transition t = new Transition(new TransitionMethod_Linear(500)); b. t.add(form1, "Width", 500); c. t.add(form1, "BackColor", Color.Red); d. t.run(); Line a: Creates a new transition. You specify the transition method. Lines b. and c: Set the destination values of the properties you are animating. Line d: Starts the transition. Transition methods ------------------ TransitionMethod objects specify how the transition is made. Examples include linear transition, ease-in-ease-out and so on. Different transition methods may need different parameters.
Inheritance Hierarchy
SystemObject
  TransitionsTransition

Namespace:  Transitions
Assembly:  Advanced Combat Tracker (in Advanced Combat Tracker.exe) Version: 3.7.0.280
Syntax
C#
public class Transition

The Transition type exposes the following members.

Constructors
  NameDescription
Public methodTransition
Constructor. You pass in the object that holds the properties that you are performing transitions on.
Top
Methods
  NameDescription
Public methodadd
Adds a property that should be animated as part of this transition.
Public methodrun
Starts the transition.
Public methodStatic memberrun(Object, String, Object, ITransitionType)
Creates and immediately runs a transition on the property passed in.
Public methodStatic memberrun(Object, String, Object, Object, ITransitionType)
Sets the property passed in to the initial value passed in, then creates and immediately runs a transition on it.
Public methodStatic memberrunChain
Creates a TransitionChain and runs it.
Top
Events
  NameDescription
Public eventTransitionCompletedEvent
Event raised when the transition hass completed.
Top
See Also