TweenColorDescription used to define a new animated color sequence. The object is then passed to the method AddSequence of a Tween instance.

Examples

 Copy Code
             var myTween = new Tween();
             TweenColorDescription tcd = new TweenColorDescription(myRectangle, TweenablePropertie.Fill, 2, Color.FromArgb(255, 20, 150, 68));
             myTween.AddSequence(tcd);
             myTween.Start();
                        

Namespace:  Tweened
Assembly:  Tweened (in Tweened.dll)

Syntax

Visual Basic (Declaration)
Public Class TweenColorDescription _
	Implements TweenDescription
C#
public class TweenColorDescription : TweenDescription
Visual C++
public ref class TweenColorDescription : TweenDescription
JavaScript
Tweened.TweenColorDescription = function();

Type.createClass(
	'Tweened.TweenColorDescription',
	null,
	Tweened.TweenDescription);

Inheritance Hierarchy

System..::.Object
  Tweened..::.TweenColorDescription

See Also