⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pacer.java

📁 用applet实现很多应用小程序
💻 JAVA
字号:
package prefuse.activity;

/**
 * A Pacer, or pacing function, maps one double value to another; they
 * are used to parameterize animation rates, where the input value f moves
 * from 0 to 1 linearly, but the returned output can vary quite differently
 * in response to the input.
 *
 * @version 1.0
 * @author <a href="http://jheer.org">jeffrey heer</a>
 * @see prefuse.action.Action
 * @see prefuse.activity.SlowInSlowOutPacer
 * @see prefuse.activity.ThereAndBackPacer
 */
public interface Pacer {

    /**
     * Maps one double value to another to determine animation pacing. Under
     * most circumstances, both the input and output values should be in the
     * range 0-1, inclusive.
     * @param f the input value, should be between 0-1
     * @return the output value, should be between 0-1
     */
    public double pace(double f);
    
} // end of interface Pacer

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -