CircularRevealWidget.CircularRevealEvaluator

public static class CircularRevealWidget.CircularRevealEvaluator
extends Object

java.lang.Object
   ↳ com.google.android.material.circularreveal.CircularRevealWidget.CircularRevealEvaluator


A ERROR(/TypeEvaluator) that performs type interpolation between two CircularRevealWidget.RevealInfos. This encapsulates an animated circular reveal.

Each value in the intermediary RevealInfo is simply interpolated from the corresponding values from the start and end RevealInfo.

Summary

Fields

public static final CIRCULAR_REVEAL

Public constructors

CircularRevealWidget.CircularRevealEvaluator()

Public methods

CircularRevealWidget.RevealInfo evaluate(float fraction, CircularRevealWidget.RevealInfo startValue, CircularRevealWidget.RevealInfo endValue)

Inherited methods

From class java.lang.Object

Fields

CIRCULAR_REVEAL

 CIRCULAR_REVEAL

Public constructors

CircularRevealWidget.CircularRevealEvaluator

CircularRevealWidget.CircularRevealEvaluator ()

Public methods

evaluate

CircularRevealWidget.RevealInfo evaluate (float fraction, 
                CircularRevealWidget.RevealInfo startValue, 
                CircularRevealWidget.RevealInfo endValue)

Parameters
fraction float

startValue CircularRevealWidget.RevealInfo

endValue CircularRevealWidget.RevealInfo

Returns
CircularRevealWidget.RevealInfo