StyledElement

sealed interface StyledElement

Represents a renderable element of a Component with an associated Style.

Inheritors

Types

Link copied to clipboard
data class CodePoint(val style: Style, val codePoint: Int) : StyledElement

A code point (character).

Link copied to clipboard
data class Object(val style: Style, val contents: ObjectContents) : StyledElement

An object component.

Properties

Link copied to clipboard
abstract val style: Style

The Style associated with this element.