Stay organized with collections Save and categorize content based on your preferences.

PaintKt

public final class PaintKt


Summary

Public methods

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

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

Public methods

PaintKt.setBlendMode

public static final boolean PaintKt.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