{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

BlendModeKt

public final class BlendModeKt


Summary

Public methods

static final boolean

Capability query to determine if the particular platform supports the BlendMode.

Public methods

isSupported

public static final boolean isSupported(@NonNull BlendMode receiver)

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.