Interface

BlurScope

Configures progressive blur layer properties.

Source set: Common
public sealed interface BlurScope : Density

Configures progressive blur layer properties.

Runs when the blur layer is configured. Inherits Density to resolve Dp values directly.

Properties

size

Source set: Common
public val size: DpSize

Size of the blurred layer in Dp, the coordinate space of gradient geometry.

blurRadiusSpec

Source set: Common
public var blurRadiusSpec: BlurRadiusSpec

Varying blur radius configuration across the surface.

Defaults to BlurRadiusSpec.uniform(0.dp) (no blur).

edgeTreatment

Source set: Common
public var edgeTreatment: BlurredEdgeTreatment

Strategy used to sample pixels outside content bounds.

alpha

Source set: Common
public var alpha: Float

Opacity of the blurred content in the 0..1 range.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: