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

# arePixelsAllTheSame

`fun `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`.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#L52)

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

