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.

radius

Source set: Common
public var radius: 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.

Content updated: