Class GammaEvaluator


  • public class GammaEvaluator
    extends java.lang.Object
    Use this instead of ArgbEvaluator because it interpolates through the gamma color space which looks better to us humans.

    Written by Romain Guy and Francois Blavoet. https://androidstudygroup.slack.com/archives/animation/p1476461064000335

    • Constructor Summary

      Constructors 
      Constructor Description
      GammaEvaluator()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int evaluate​(float fraction, int startInt, int endInt)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GammaEvaluator

        public GammaEvaluator()
    • Method Detail

      • evaluate

        public static int evaluate​(float fraction,
                                   int startInt,
                                   int endInt)