Piccolo.NET

PColorActivity Constructor (Int64, Int64, Int32, ActivityMode, Target, Color)

Constructs a new PColorActivity that animate between the source and destination colors in the order specified by the mode, looping the given number of iterations.

public PColorActivity(
   long duration,
   long stepInterval,
   int loopCount,
   ActivityMode mode,
   Target aTarget,
   Color aDestination
);

Parameters

duration
The length of one loop of the activity.
stepInterval
The minimum number of milliseconds that this activity should delay between steps.
loopCount
The number of times the activity should reschedule itself.
mode
Defines how the activity interpolates between states.
aTarget
The object that the activity will be applied to and where the source state will be taken from.
aDestination
The destination color state.

See Also

PColorActivity Class | UMD.HCIL.Piccolo.Activities Namespace | PColorActivity Constructor Overload List