View

sealed trait View
Companion:
object
class Object
trait Matchable
class Any
class Border
class Overlay
class Padding
class Text
class Vertical
class WithSize

Value members

Abstract methods

def render(context: RenderContext, size: Size): Unit
def size(proposed: Size): Size

Concrete methods

def blue: View
def bold: View
def color(color: Color): View
def cyan: View
def dim: View
def flex(minWidth: Option[Int], maxWidth: Option[Int], minHeight: Option[Int], maxHeight: Option[Int], alignment: Alignment): View
def frame(width: Int, height: Int, alignment: Alignment): View
def green: View
def left: View
def overlay(view: View, alignment: Alignment): View
def padding(amount: Int): View
def padding(horizontal: Int, vertical: Int): View
def padding(left: Int, top: Int, right: Int, bottom: Int): View
def paddingH(amount: Int): View
def paddingV(amount: Int): View
def red: View
def render(width: Int, height: Int): String
def renderNow: String
def renderNowWithSize: (Size, String)
def right: View
def style(style: Style): View
def textMap(width: Int, height: Int): TextMap
def top: View
def transform(pf: PartialFunction[View, View]): View
def white: View