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 android.support.transition.TransitionUtils.MatrixEvaluator.

Summary

Public constructors

MatrixEvaluator()

Public methods

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

Inherited methods

From class java.lang.Object
From interface android.animation.TypeEvaluator

Public constructors

MatrixEvaluator

MatrixEvaluator ()

Public methods

evaluate

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

Parameters
fraction float

startValue Matrix

endValue Matrix

Returns
Matrix