[android-components](../index.md) / [mozilla.components.support.ktx.android.graphics](index.md) / [arePixelsAllTheSame](./are-pixels-all-the-same.md)

# arePixelsAllTheSame

`fun <ERROR CLASS>.arePixelsAllTheSame(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/ktx/src/main/java/mozilla/components/support/ktx/android/graphics/Bitmap.kt#L54)

Returns true if all pixels have the same value, false otherwise.

