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 companion functions

Float
android

Public companion properties

Float
android

Public constructors

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

Public functions

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

Protected functions

open ImageFilter
android
open RenderEffect
android

Inherited functions

From androidx.compose.ui.graphics.RenderEffect
RenderEffect

Obtain a android.graphics.RenderEffect from the compose RenderEffect

android
ImageFilter
android
open Boolean

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

Cmn
android

Public companion functions

convertRadiusToSigma

fun convertRadiusToSigma(radius: Float): Float

Public companion properties

BlurSigmaScale

val BlurSigmaScaleFloat

Public constructors

BlurEffect

BlurEffect(
    renderEffect: RenderEffect?,
    radiusX: Float,
    radiusY: Float = radiusX,
    edgeTreatment: TileMode = TileMode.Clamp
)
Parameters
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

equals

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

hashCode

open fun hashCode(): Int

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

toString

open fun toString(): String

Protected functions

createImageFilter

protected open fun createImageFilter(): ImageFilter

createRenderEffect

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