AnsiTransitionFrameBuilder

class AnsiTransitionFrameBuilder(ansiGridStringBuilder: AnsiGridStringBuilder, frameSize: Size, backgroundColor: AnsiColor = AnsiColor.RESET, borderColor: AnsiColor = AnsiColor.BRIGHT_BLACK, titleColor: AnsiColor = AnsiColor.GREEN, messageColor: AnsiColor = AnsiColor.YELLOW) : TransitionFrameBuilder

Provides an ANSI title frame builder that builds in to the specified ansiGridStringBuilder.

Constructors

Link copied to clipboard
constructor(ansiGridStringBuilder: AnsiGridStringBuilder, frameSize: Size, backgroundColor: AnsiColor = AnsiColor.RESET, borderColor: AnsiColor = AnsiColor.BRIGHT_BLACK, titleColor: AnsiColor = AnsiColor.GREEN, messageColor: AnsiColor = AnsiColor.YELLOW)

Functions

Link copied to clipboard
open override fun build(title: String, message: String): Frame

Build a frame with a title and message.