Package-level declarations

Types

Link copied to clipboard

Controls the quality and appearance of chromatic aberration (color dispersion) at the refraction edges.

Link copied to clipboard

Default values used by hazeGlass and GlassStyle resolution.

Link copied to clipboard
sealed interface GlassInteractionScope

Declares the visual response for one Glass interaction state.

Link copied to clipboard
sealed interface GlassOptics

Selects how Glass optical values are produced.

Link copied to clipboard

Controls whether interaction motion is reduced.

Link copied to clipboard
sealed interface GlassStyle

An opaque, immutable sequence of recorded Glass appearance writes.

Link copied to clipboard
annotation class GlassStyleDsl

Marks the nested receiver scopes used while constructing a GlassStyle.

Link copied to clipboard

Receiver for Glass appearance property writes.

Link copied to clipboard

Selects the pivot used by the interaction scale transform.

Link copied to clipboard

Selects which visual layers receive the interaction scale transform.

Link copied to clipboard

Describes the cross-sectional surface shape of the Glass bezel.

Properties

Link copied to clipboard

A ProvidableCompositionLocal which provides inherited Glass appearance.

Functions

Link copied to clipboard

Creates a recorded, replayable GlassStyle.

Link copied to clipboard
fun Modifier.hazeGlass(input: HazeInput, style: GlassStyle = GlassStyle, sampling: HazeSampling = HazeSampling.Default, expandLayerBounds: Boolean = true, interactionSource: InteractionSource? = null, interactionTransformTarget: GlassTransformTarget = GlassTransformTarget.MaterialOnly, interactionTransformPivot: GlassTransformPivot = GlassTransformPivot.Pointer, interactionReducedMotionPolicy: GlassReducedMotionPolicy = GlassReducedMotionPolicy.System): Modifier

Draws a Glass material using an explicit Haze input.