---
title: "isSupported"
description: "Capability query to determine if the particular platform supports the [TileMode]. Not all
platforms support all tile mode algorithms, however, [TileMode.Clamp], [TileMode.Repeated] and
[TileMode.Mirror] are guaranteed to be supported. If a [TileMode] that is not supported is used,
the default of [TileMode.Clamp] is consumed instead."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
expect fun TileMode.isSupported(): Boolean
```


Capability query to determine if the particular platform supports the `TileMode`. Not all
platforms support all tile mode algorithms, however, `TileMode.Clamp`, `TileMode.Repeated` and
`TileMode.Mirror` are guaranteed to be supported. If a `TileMode` that is not supported is used,
the default of `TileMode.Clamp` is consumed instead.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
expect fun BlendMode.isSupported(): Boolean
```


Capability query to determine if the particular platform supports the `BlendMode`. Not all
platforms support all blend mode algorithms, however, `BlendMode.SrcOver` is guaranteed to be
supported as it is the default drawing algorithm. If a `BlendMode` that is not supported is used,
the default of SrcOver is consumed instead.



<div class='sourceset sourceset-android'>Android</div>


```kotlin
actual fun BlendMode.isSupported(): Boolean
```


Helper method to determine if the appropriate `BlendMode` is supported on the given Android API
level this provides an opportunity for consumers to fallback on an alternative user experience
for devices that do not support the corresponding blend mode. Usages of `BlendMode` types that
are not supported will fallback onto the default of `BlendMode.SrcOver`



<div class='sourceset sourceset-android'>Android</div>


```kotlin
actual fun TileMode.isSupported(): Boolean
```


Helper method to determine if the appropriate `TileMode` is supported on the given Android API
level this provides an opportunity for consumers to fallback on an alternative user experience
for devices that do not support the corresponding blend mode. Usages of `TileMode` types that are
not supported will fallback onto the default of `TileMode.Clamp`



