public class ActionWipe extends ActionBase
限定符和类型 | 字段和说明 |
---|---|
static int |
DIRECTION_BOTTOM
Wipe upward.
|
static int |
DIRECTION_LEFT
Wipe from left to right.
|
static int |
DIRECTION_RIGHT
Wipe from right to left.
|
static int |
DIRECTION_TOP
Wipe upward.
|
static int |
WIPE_MODE_APPEAR
Wipe to reveal text.
|
static int |
WIPE_MODE_DISAPPEAR
Wipe out text.
|
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
构造器和说明 |
---|
ActionWipe() |
限定符和类型 | 方法和说明 |
---|---|
int |
getDirection()
Gets the wipe direction.
|
int |
getWipeMode()
Gets the wipe mode.
|
void |
setDirection(int direction)
Sets the wipe direction.
|
void |
setWipeMode(int wipeMode)
Sets the wipe mode.
|
equals, getAnimationConfig, getDuration, getId, getStartTime, getTargetId, getType, isStream, setAnimationConfig, setDuration, setId, setIsStream, setStartTime, setTargetId, setType
public static final int DIRECTION_LEFT
public static final int DIRECTION_TOP
public static final int DIRECTION_RIGHT
public static final int DIRECTION_BOTTOM
public static final int WIPE_MODE_APPEAR
public static final int WIPE_MODE_DISAPPEAR
public int getDirection()
DIRECTION_LEFT
,
DIRECTION_TOP
,
DIRECTION_RIGHT
,
DIRECTION_BOTTOM
public void setDirection(int direction)
direction
- DIRECTION_LEFT
,
DIRECTION_TOP
,
DIRECTION_RIGHT
,
DIRECTION_BOTTOM
public int getWipeMode()
WIPE_MODE_APPEAR
indicates wipe to reveal text. WIPE_MODE_DISAPPEAR
indicates wipe out text.public void setWipeMode(int wipeMode)
wipeMode
- WIPE_MODE_APPEAR
indicates wipe to reveal text. WIPE_MODE_DISAPPEAR
indicates wipe out text.