[android-components](../../index.md) / [mozilla.components.support.base.android.view](../index.md) / [AutoFitTextureView](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`AutoFitTextureView(context: <ERROR CLASS>, attrs: <ERROR CLASS>? = null, defStyle: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 0)`

A [TextureView](#) that can be adjusted to a specified aspect ratio.

