Frame class abstract interface TUI

Positioned string composition for one immediate-mode render pass.

A frame is created after the terminal viewport has been sized and cleared. Content passed to write may include ANSI styling produced by Artisanal's Style.render. The renderer owns conversion to terminal cells.

Properties

area FrameArea
The drawable viewport for this frame.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(FrameRenderable renderable, FrameArea target) → void
Paints renderable into target, clipped to this frame's viewport.
toString() String
A string representation of this object.
inherited
write(String content, {FrameArea? target, bool wrap = true}) → void
Writes plain or ANSI-styled content into a positioned region.

Operators

operator ==(Object other) bool
The equality operator.
inherited