Most visited

Recently visited

Added in API level 1

LinearInterpolator

public class LinearInterpolator
extends BaseInterpolator implements NativeInterpolatorFactory

java.lang.Object
    android.view.animation.BaseInterpolator
      android.view.animation.LinearInterpolator


内插器的变化率是恒定的

摘要(Summary)

Public constructors

LinearInterpolator()
LinearInterpolator(Context context, AttributeSet attrs)

公共方法(Public methods)

float getInterpolation(float input)

继承方法(Inherited methods)

From class java.lang.Object
From interface com.android.internal.view.animation.NativeInterpolatorFactory
From interface android.animation.TimeInterpolator

Public constructors

LinearInterpolator

Added in API level 1
LinearInterpolator ()

LinearInterpolator

Added in API level 1
LinearInterpolator (Context context, 
                AttributeSet attrs)

参数(Parameters)
context Context
attrs AttributeSet

公共方法(Public methods)

getInterpolation

Added in API level 1
float getInterpolation (float input)

参数(Parameters)
input float
返回(Returns)
float

Hooray!