PaintKt

public final class PaintKt


Summary

Public methods

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

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

Public methods

PaintKt.setBlendMode

@NonNull
public static final boolean PaintKt.setBlendMode(
    @NonNull Paint receiver,
    @Nullable 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