core-ktx / androidx.graphics / android.graphics.Matrix

Extensions for android.graphics.Matrix

times

operator fun Matrix.times(m: Matrix): Matrix

Multiplies this Matrix by another matrix and returns the result as a new matrix.

values

fun Matrix.values(): FloatArray

Returns the 9 values of this Matrix as a new array of floats.