Piccolo.NET

PColorActivity Constructor (Int64, Int64, Target, Color)

Constructs a new PColorActivity that will animate from the source color to the destination color.

public PColorActivity(
   long duration,
   long stepInterval,
   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.
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