Method | Description | |
---|---|---|
PColorActivity ( long duration, long stepInterval, Target aTarget ) : System |
Constructs a new PColorActivity that will animate from the source color to no color, unless the destination color is later set.
|
|
PColorActivity ( long duration, long stepInterval, Target aTarget, Color aDestination ) : System |
Constructs a new PColorActivity that will animate from the source color to the destination color.
|
|
PColorActivity ( long duration, long stepInterval, int loopCount, ActivityMode mode, Target aTarget, Color aDestination ) : System |
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.
|
|
SetRelativeTargetValue ( float zeroToOne ) : void |
Overridden. See
|
Method | Description | |
---|---|---|
OnActivityStarted ( ) : void |
Overridden. See
|
public PColorActivity ( long duration, long stepInterval, Target aTarget ) : System | ||
duration | long | The length of one loop of the activity. |
stepInterval | long | /// The minimum number of milliseconds that this activity should delay between /// steps. /// |
aTarget | Target | /// The object that the activity will be applied to and where the source state /// will be taken from. /// |
return | System |
public PColorActivity ( long duration, long stepInterval, Target aTarget, Color aDestination ) : System | ||
duration | long | The length of one loop of the activity. |
stepInterval | long | /// The minimum number of milliseconds that this activity should delay between /// steps. /// |
aTarget | Target | /// The object that the activity will be applied to and where the source state /// will be taken from. /// |
aDestination | Color | The destination color state. |
return | System |
public PColorActivity ( long duration, long stepInterval, int loopCount, ActivityMode mode, Target aTarget, Color aDestination ) : System | ||
duration | long | The length of one loop of the activity. |
stepInterval | long | /// The minimum number of milliseconds that this activity should delay between steps. /// |
loopCount | int | /// The number of times the activity should reschedule itself. /// |
mode | ActivityMode | /// Defines how the activity interpolates between states. /// |
aTarget | Target | /// The object that the activity will be applied to and where the source state /// will be taken from. /// |
aDestination | Color | The destination color state. |
return | System |
public SetRelativeTargetValue ( float zeroToOne ) : void | ||
zeroToOne | float | |
return | void |