Package org.jdesktop.animation.timing.interpolation

Examples of org.jdesktop.animation.timing.interpolation.Interpolator


        //The TimingFramework implementation doesn't respect the SMIL specification about the returned Y value
    /*Interpolator splines = new SplineInterpolator((float) control1.getX(),
        (float) control1.getY(),
        (float) control2.getX(), (float) control2.getY());*/

        Interpolator splines = new BezierInterpolator((float) control1.getX(),
                (float) control1.getY(),
                (float) control2.getX(), (float) control2.getY());

        return splines;
    }
View Full Code Here

TOP

Related Classes of org.jdesktop.animation.timing.interpolation.Interpolator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.