blur
inline fun Style.blur(radiusX: Float, radiusY: Float, edgeTreatment: Shader.TileMode = Shader.TileMode.CLAMP): Style
Creates a Blur LithoRenderEffect with the specified radius along the x and y axis and applies it to the component.
This style is only supported on Android 12 and above. Usage of this Style on older Android versions will be ignored.
Parameters
radiusX
Radius of blur along the X axis in pixels.
radiusY
Radius of blur along the Y axis in pixels.
edgeTreatment
Policy for how to blur content near edges.
See android.view.View.setRenderEffect and RenderEffect.createBlurEffect