<div class='type'>Function</div>


<a id='references'></a>


<h2 id="setfrom-matrix">setFrom</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
fun Matrix.setFrom(matrix: android.graphics.Matrix)
```


Set the matrix values the native `android.graphics.Matrix`.





<hr class="docs-overload-divider">


<h2 id="setfrom-matrix-2">setFrom</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
fun android.graphics.Matrix.setFrom(matrix: Matrix)
```


Set the native `android.graphics.Matrix` from `matrix`.