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

> 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.

# getCanvasStrip

suspend fun [getCanvasStrip](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.colorramp/-m-t-color-ramp/get-canvas-strip/)(options: [MTColorRampCanvasOptions](https://docs-qmgv.pages.dev/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.colorramp/-m-t-color-ramp-canvas-options/)? = null): [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)?

Returns a data URL of the rendered strip of this color ramp.
