CircularRevealWidget.CircularRevealEvaluator

public class CircularRevealWidget.CircularRevealEvaluator


A TypeEvaluator that performs type interpolation between two 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

Constants

static final TypeEvaluator<RevealInfo>

Public constructors

Public methods

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

Constants

CIRCULAR_REVEAL

public static final TypeEvaluator<RevealInfo> CIRCULAR_REVEAL

Public constructors

CircularRevealEvaluator

public CircularRevealEvaluator()

Public methods

evaluate

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