public class Rotate3dAnimation
extends android.view.animation.Animation
构造器和说明 |
---|
Rotate3dAnimation(float fromDegrees,
float toDegrees,
float centerX,
float centerY,
float depthZ,
boolean reverse)
Creates a new 3D rotation on the Y axis.
|
限定符和类型 | 方法和说明 |
---|---|
protected void |
applyTransformation(float interpolatedTime,
android.view.animation.Transformation t) |
void |
initialize(int width,
int height,
int parentWidth,
int parentHeight) |
cancel, clone, computeDurationHint, ensureInterpolator, finalize, getBackgroundColor, getDetachWallpaper, getDuration, getFillAfter, getFillBefore, getInterpolator, getRepeatCount, getRepeatMode, getScaleFactor, getStartOffset, getStartTime, getTransformation, getTransformation, getZAdjustment, hasEnded, hasStarted, isFillEnabled, isInitialized, reset, resolveSize, restrictDuration, scaleCurrentDuration, setAnimationListener, setBackgroundColor, setDetachWallpaper, setDuration, setFillAfter, setFillBefore, setFillEnabled, setInterpolator, setInterpolator, setRepeatCount, setRepeatMode, setStartOffset, setStartTime, setZAdjustment, start, startNow, willChangeBounds, willChangeTransformationMatrix
public Rotate3dAnimation(float fromDegrees, float toDegrees, float centerX, float centerY, float depthZ, boolean reverse)
fromDegrees
- the start angle of the 3D rotationtoDegrees
- the end angle of the 3D rotationcenterX
- the X center of the 3D rotationcenterY
- the Y center of the 3D rotationreverse
- true if the translation should be reversed, false otherwisepublic void initialize(int width, int height, int parentWidth, int parentHeight)
initialize
在类中 android.view.animation.Animation
protected void applyTransformation(float interpolatedTime, android.view.animation.Transformation t)
applyTransformation
在类中 android.view.animation.Animation