![JAR search and dependency download from the Maven repository](/logo.png)
com.sencha.gxt.fx.client.easing.Default Maven / Gradle / Ivy
/**
* Sencha GXT 3.1.0-beta - Sencha for GWT
* Copyright(c) 2007-2014, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.sencha.gxt.fx.client.easing;
/**
* The default {@link EasingFunction} for animation.
*/
public class Default implements EasingFunction {
@Override
public double func(double n) {
return (1 + Math.cos(Math.PI + n * Math.PI)) / 2;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy