# PaintKt

Added in 1.2.0

*** ** * ** ***


```
public final class PaintKt
```

<br />

*** ** * ** ***

## Summary

| ### Public methods |
|---|---|
| `static final boolean` | `https://developer.android.com/reference/androidx/core/graphics/PaintKt#(android.graphics.Paint).setBlendMode(androidx.core.graphics.BlendModeCompat)(@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/android/graphics/Paint.html receiver, https://developer.android.com/reference/androidx/core/graphics/BlendModeCompat blendModeCompat)` Convenience method to configure the BlendMode of a Paint in a backward compatible way. |

## Public methods

### setBlendMode

Artifact: [androidx.core:core](https://developer.android.com/jetpack/androidx/releases/core) [View Source](https://cs.android.com/search?q=file:androidx/core/graphics/Paint.kt+function:setBlendMode) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/core#1.2.0)

```
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