public class ActionRotateTo extends ActionBase
ActionRotate
,
ActionRotateBy
构造器和说明 |
---|
ActionRotateTo() |
限定符和类型 | 方法和说明 |
---|---|
float |
getFromDegree()
获取起点的角度
|
float |
getRotateToDegree()
获取终点的角度
|
boolean |
isClockwise()
获取是否顺时针旋转
|
void |
setClockwise(boolean mClockwise)
设置是否顺时针旋转
|
void |
setFromDegree(float mFromDegree)
起点角度
|
void |
setRotateToDegree(float mRotateToDegree)
终点角度
|
equals, getAnimationConfig, getDuration, getId, getStartTime, getTargetId, getType, isStream, setAnimationConfig, setDuration, setId, setIsStream, setStartTime, setTargetId
public boolean isClockwise()
public void setClockwise(boolean mClockwise)
mClockwise
- 是否顺时针旋转public float getFromDegree()
public void setFromDegree(float mFromDegree)
mFromDegree
- 弧度值public float getRotateToDegree()
public void setRotateToDegree(float mRotateToDegree)
mRotateToDegree
- 弧度值