Class GammaEvaluator


  • public class GammaEvaluator
    extends 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 Detail

      • GammaEvaluator

        public GammaEvaluator()
    • Method Detail

      • evaluate

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