BlurEffect


RenderEffect that will blur the contents of an optional input RenderEffect. If no input RenderEffect is provided, the drawing commands on the GraphicsLayerScope this RenderEffect is configured on will be blurred.

Summary

Public constructors

BlurEffect(
    renderEffect: RenderEffect?,
    radiusX: Float,
    radiusY: Float,
    edgeTreatment: TileMode
)
Cmn
android

Public functions

open operator Boolean
equals(other: Any?)
android
open Int
android
open String
android

Protected functions

open RenderEffect
android

Inherited functions

From androidx.compose.ui.graphics.RenderEffect
RenderEffect

Obtain a android.graphics.RenderEffect from the compose RenderEffect

android
open Boolean

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

Cmn
android

Public constructors

BlurEffect

BlurEffect(
    renderEffect: RenderEffect?,
    radiusX: Float,
    radiusY: Float = radiusX,
    edgeTreatment: TileMode = TileMode.Clamp
)
Parameters
renderEffect: RenderEffect?

Optional input RenderEffect to be blurred

radiusX: Float

Blur radius in the horizontal direction

radiusY: Float = radiusX

Blur radius in the vertical direction

edgeTreatment: TileMode = TileMode.Clamp

Strategy used to render pixels outside of bounds of the original input

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Protected functions

createRenderEffect

@RequiresApi(value = 31)
protected open fun createRenderEffect(): RenderEffect