public class TransitionAlpha extends Transition
| 构造器 | 说明 |
|---|---|
TransitionAlpha() |
Default constructor used to create a
TransitionAlpha instance. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
setDuration(float duration) |
已过时。
This change is effective since API version 8. This method is deprecated because the
duration
parameter is an integer and does not need to be represented by a floating point number.
Replaced by setDuration(long). |
void |
setDuration(long duration) |
Start the transition.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCurve, setCurveTypepublic TransitionAlpha()
TransitionAlpha instance.
This instance provides the alpha gradient effect for component transitions.
@Deprecated public void setDuration(float duration)
duration
parameter is an integer and does not need to be represented by a floating point number.
Replaced by setDuration(long).setDuration 在类中 Transitionduration - Indicates the duration of the transition.public void setDuration(long duration)
setDuration 在类中 Transitionduration - Indicates the duration of the transition.