Aliases
Origin
A set of constants representing the origin of a position.
Alias | "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "center" | "hovered" |
Sendable
A value that can be sent across threads. See Sendable value for more details.
Alias | nil | boolean | number | string | Url | { [Sendable]: Sendable } |
Renderable
An element that can be rendered.
Alias | Bar | Border | Clear | Gauge | Line | List | Text |
AsPos
A value that can be covariantly treated as a Pos
.
Alias | Pos | { [1]: Origin, x: integer?, y: integer?, w: integer?, h: integer? } |
AsSpan
A value that can be covariantly treated as a Span
.
Alias | string | Span |
AsLine
A value that can be covariantly treated as a Line
.
Alias | string | Span | Line | (string|Span|Line)[] |
AsText
A value that can be covariantly treated as a Text
.
Alias | string | Span | Line | (string|Span|Line)[] |
AsColor
A set of constants representing colors.
Alias | "black" | "white" | "red" | "lightred" | "green" | "lightgreen" | "yellow" | "lightyellow" | "blue" | "lightblue" | "magenta" | "lightmagenta" | "cyan" | "lightcyan" | "gray" | "darkgray" | "reset" | string |