docs/doc/reference/com/google/android/exoplayer2/effect/OverlaySettings.html
Package com.google.android.exoplayer2.effect
[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public final classOverlaySettingsextends[Object](https://developer.android.com/reference/java/lang/Object.html "class or interface in java.lang")
Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.
Contains information to control how an TextureOverlay is displayed on the screen.
Nested Classes | Modifier and Type | Class | Description |
| --- | --- | --- |
| static class | OverlaySettings.Builder |
Deprecated.
A builder for OverlaySettings instances.
|
Fields | Modifier and Type | Field | Description |
| --- | --- | --- |
| float | alpha |
Deprecated.
|
| Pair<Float,Float> | anchor |
Deprecated.
|
| float[] | matrix |
Deprecated.
|
| boolean | useHdr |
Deprecated.
|
-
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
public final boolean useHdr
Deprecated.
-
public final float alpha
Deprecated.
-
public final float[] matrix
Deprecated.
-
public final[Pair](https://developer.android.com/reference/android/util/Pair.html "class or interface in android.util")<[Float](https://developer.android.com/reference/java/lang/Float.html?is-external=true "class or interface in java.lang"),[Float](https://developer.android.com/reference/java/lang/Float.html?is-external=true "class or interface in java.lang")> anchor
Deprecated.