public class BezierAnimator extends TweenAnimator
Animator.AnimatorListener
Modifier and Type | Field and Description |
---|---|
protected PointF |
mControl1 |
protected PointF |
mControl2 |
protected PointF |
mEnd |
protected PointF |
mStart |
mCurrentUninterpolatedValue, mCurrentValue, mDuration, mInterpolator, mLastValue, mLoopCount, mLoopMode, mReversed, mTripCount
mAccumulating, mData, mElapsedTime, mLastDeltaTime, mLifeEnded, mLifespan, mListener, mRunning, mStartDelay, mTarget
Constructor and Description |
---|
BezierAnimator(Interpolator interpolator) |
Modifier and Type | Method and Description |
---|---|
protected void |
onUpdate(float value) |
void |
setControlPoints(float c1x,
float c1y,
float c2x,
float c2y) |
void |
setControlPoints(PointF c1,
PointF c2) |
void |
setValues(float srcX,
float srcY,
float dstX,
float dstY) |
void |
start(float destX,
float destY) |
void |
start(float srcX,
float srcY,
float dstX,
float dstY) |
end, getCurrentValue, getDuration, getInterpolator, getLoop, getLoopCount, isReversed, onLoop, setDuration, setInterpolator, setLoop, setLoopCount, setReversed, startElapse, update
elapse, getData, getElapsedTime, getLifespan, getListener, getStartDelay, getTarget, isAccumulating, isRunning, reset, setAccumulating, setData, setElapsedTime, setLifespan, setListener, setStartDelay, setTarget, start, stop
protected PointF mStart
protected PointF mEnd
protected PointF mControl1
protected PointF mControl2
public void setControlPoints(PointF c1, PointF c2)
public void setControlPoints(float c1x, float c1y, float c2x, float c2y)
public void setValues(float srcX, float srcY, float dstX, float dstY)
public void start(float srcX, float srcY, float dstX, float dstY)
public void start(float destX, float destY)
protected void onUpdate(float value)
onUpdate
in class TweenAnimator