🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

isSupported

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.

isSupported

Source set: Android
public 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

isSupported

Source set: Android
public 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

isSupported

Source set: Common
public 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.

isSupported

Source set: Common
public 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.