---
title: "contrast | Mobile sdk | Mobile sdk android | Android"
description: "contrast"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs-qmgv.pages.dev/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# contrast

var [contrast](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style.layer.raster/-m-t-raster-layer/contrast/): [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)?

Increase or reduce the contrast of the image. Optional number between -1 and 1 inclusive. Defaults to 0.
