TextShadow

sealed interface TextShadow(source)

Color policy for a text shadow at the renderer's ordinary glyph offset. Set TextStyle.shadow to null to disable the shadow.

Inheritors

Types

Link copied to clipboard
data object Automatic : TextShadow

Divides the effective foreground's RGB channels by four while preserving its alpha.

Link copied to clipboard
data class Color(val color: ArgbColor) : TextShadow

Uses a fixed shadow tint independently of the foreground and editor state.