Brightness

@Stable
sealed class Brightness

Presents Stage's brightness.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
data object Automatic : Brightness

The brightness is system default.

Link copied to clipboard
data object Bright : Brightness

The brightness is bright.

Link copied to clipboard
data object Dark : Brightness

The brightness is dark.

Link copied to clipboard
data object Dim : Brightness

The brightness is dim.

Properties

Link copied to clipboard
@get:FloatRange(from = 0.0, to = 1.0)
abstract val value: Float

The value of the brightness.