public class ActionScale extends ActionBase
FRAME_ANIMATION_TYPE_FADE, FRAME_ANIMATION_TYPE_LINEAR_WIPE, FRAME_ANIMATION_TYPE_ROTATE_BY, FRAME_ANIMATION_TYPE_ROTATE_REPEAT, FRAME_ANIMATION_TYPE_ROTATE_TO, FRAME_ANIMATION_TYPE_SCALE, FRAME_ANIMATION_TYPE_TRANSLATE, mAlpha, mAnimationConfig, mCenterCoordinateSys, mCenterX, mCenterY, mClockwise, mDirection, mDuration, mDurationPerCircle, mFromAlpha, mFromDegree, mFromPointX, mFromPointY, mFromScale, mId, mIsStream, mRepeat, mRotateDegree, mRotateToDegree, mScaleAnchorBaseScale, mScaleAnchorEnable, mScaleAnchorX, mScaleAnchorY, mStartTime, mTargetId, mToAlpha, mToPointX, mToPointY, mToScale, mType, mWipeMode
构造器和说明 |
---|
ActionScale() |
限定符和类型 | 方法和说明 |
---|---|
float |
getFromScale()
Gets the initial scale factor.
|
float |
getToScale()
Gets the target scale factor.
|
void |
setFromScale(float mFromScale)
Sets the initial scale factor.
|
void |
setScaleAnchorBaseScale(float baseScale) |
void |
setScaleAnchorEnable(boolean scaleAnchorEnable) |
void |
setScaleAnchorX(float scaleAnchorX) |
void |
setScaleAnchorY(float scaleAnchorY) |
void |
setToScale(float mToScale)
Sets the target scale factor.
|
equals, getAnimationConfig, getDuration, getId, getStartTime, getTargetId, getType, isStream, setAnimationConfig, setDuration, setId, setIsStream, setStartTime, setTargetId, setType
public float getFromScale()
public void setFromScale(float mFromScale)
mFromScale
- public float getToScale()
public void setToScale(float mToScale)
mToScale
- public void setScaleAnchorEnable(boolean scaleAnchorEnable)
public void setScaleAnchorBaseScale(float baseScale)
public void setScaleAnchorX(float scaleAnchorX)
public void setScaleAnchorY(float scaleAnchorY)