BlurScope


Configures progressive blur layer properties.

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

Summary

Public properties

Float

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

Cmn
BlurredEdgeTreatment

Strategy used to sample pixels outside content bounds.

Cmn
BlurRadiusSpec

Varying blur radius configuration across the surface.

Cmn
DpSize

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

Cmn

Inherited functions

From androidx.compose.ui.unit.Density
open Int

Convert Dp to Int by rounding

Cmn
open Int

Convert Sp to Int by rounding

Cmn
open Dp

Convert an Int pixel value to Dp.

Cmn
open Dp

Convert a Float pixel value to a Dp

Cmn
open DpSize

Convert a Size to a DpSize.

Cmn
open Float

Convert Dp to pixels.

Cmn
open Float

Convert Sp to pixels.

Cmn
open Rect

Convert a DpRect to a Rect.

Cmn
open Size

Convert a DpSize to a Size.

Cmn
open TextUnit

Convert an Int pixel value to Sp.

Cmn
open TextUnit

Convert a Float pixel value to a Sp

Cmn
From androidx.compose.ui.unit.FontScaling
Dp

Convert Sp to Dp.

Cmn
TextUnit

Convert Dp to Sp.

Cmn

Inherited properties

From androidx.compose.ui.unit.Density
Float

The logical density of the display.

Cmn
From androidx.compose.ui.unit.FontScaling
Float

Current user preference for the scaling factor for fonts.

Cmn

Public properties

alpha

var alphaFloat

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

edgeTreatment

var edgeTreatmentBlurredEdgeTreatment

Strategy used to sample pixels outside content bounds.

radius

var radiusBlurRadiusSpec

Varying blur radius configuration across the surface.

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

size

val sizeDpSize

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