TextMap

tui.view.TextMap
See theTextMap companion object
class TextMap(text: Array[Array[String]], colors: Array[Array[Color]], styles: Array[Array[Style]], val width: Int, val height: Int)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def add(char: Char, x: Int, y: Int, color: Color, style: Style): Unit
def apply(x: Int, y: Int): String
def getColor(x: Int, y: Int): Color
def getStyle(x: Int, y: Int): Style
def insert(string: String, x: Int, y: Int, color: Color, style: Style): Unit
def setColor(x: Int, y: Int, color: Color): Unit
def setStyle(x: Int, y: Int, style: Style): Unit
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
def update(x: Int, y: Int, string: String): Unit

Concrete fields

val height: Int
val width: Int