PaintKt

Added in 1.2.0

public final class PaintKt


Summary

Public methods

static final boolean
setBlendMode(@NonNull Paint receiver, BlendModeCompat blendModeCompat)

Convenience method to configure the BlendMode of a Paint in a backward compatible way.

Public methods

setBlendMode

public static final boolean setBlendMode(@NonNull Paint receiver, BlendModeCompat blendModeCompat)

Convenience method to configure the BlendMode of a Paint in a backward compatible way. This method is a no-op for BlendModes that have no equivalent on older API levels