MatrixEvaluator

public class MatrixEvaluator
extends Object implements TypeEvaluator<Matrix>

java.lang.Object
   ↳ com.google.android.material.animation.MatrixEvaluator


Type evaluator for Matrix interpolation. Copied from androidx.transition.TransitionUtils.MatrixEvaluator.

Summary

Public constructors

MatrixEvaluator()

Public methods

Matrix evaluate(float fraction, Matrix startValue, Matrix endValue)

Inherited methods

Public constructors

MatrixEvaluator

public MatrixEvaluator ()

Public methods

evaluate

public Matrix evaluate (float fraction, 
                Matrix startValue, 
                Matrix endValue)

Parameters
fraction float

startValue Matrix

endValue Matrix

Returns
Matrix