public class TransitionRotation extends Transition
| 构造器 | 说明 |
|---|---|
TransitionRotation() |
Default constructor used to create a
TransitionRotation instance. |
TransitionRotation(float rotation) |
A constructor used to create a
TransitionRotation 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) |
Sets the transition duration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetCurve, setCurveTypepublic TransitionRotation()
TransitionRotation instance.public TransitionRotation(float rotation)
TransitionRotation instance.rotation - Indicates the rotation angle.@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 transition duration to set.public void setDuration(long duration)
setDuration 在类中 Transitionduration - Indicates the transition duration to set.