HazeBlurStyle

sealed interface HazeBlurStyle

An opaque, stateless, and shareable program of Blur Style writes.

A Style never owns renderer or platform resources. Calling then creates a new Style whose writes replay after this one, so the last write to each property wins. Values retained by a Style must be immutable after construction; lists passed to HazeBlurStyleScope.colorEffects are snapshotted. Provide a replacement Style when a value changes.

Inheritors

Types

Link copied to clipboard

The empty Blur Style, which performs no writes.

Functions

Link copied to clipboard
open fun then(other: HazeBlurStyle): HazeBlurStyle

Returns a Style that replays other after this Style.

open fun then(block: HazeBlurStyleScope.() -> Unit): HazeBlurStyle

Returns a Style that replays block after this Style.