GlassAccessibilitySettings

data class GlassAccessibilitySettings(val reduceTransparency: Boolean = false, val increaseContrast: Boolean = false, val showBorders: Boolean = false)

Semantic accessibility preferences that change how Glass separates itself from its content.

Haze deliberately does not read platform accessibility services from common code. Hosts map their platform settings to this value and provide it to the subtree that renders Glass.

Constructors

Link copied to clipboard
constructor(reduceTransparency: Boolean = false, increaseContrast: Boolean = false, showBorders: Boolean = false)

Properties

Link copied to clipboard

Enforces minimum tone contrast and edge separation.

Link copied to clipboard

Reduces the resolved blur radius used by Glass materials.

Link copied to clipboard

Enforces a visible edge without changing tone contrast.