CircularRevealWidget.CircularRevealEvaluator

public static class CircularRevealWidget.CircularRevealEvaluator
extends Object implements TypeEvaluator<CircularRevealWidget.RevealInfo>

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


A 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 TypeEvaluator<CircularRevealWidget.RevealInfo> 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
From interface android.animation.TypeEvaluator

Fields

CIRCULAR_REVEAL

TypeEvaluator<CircularRevealWidget.RevealInfo> 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