class

Crubbletea::Ntcharts::Canvas

Inherits Reference < Object

Constructors

new(width : Int32 = 80, height : Int32 = 24)
Source

Instance methods

cell(p : Point) : Char
Source
clear
Source
get_cell_style(p : Point) : Lipgloss::Style | Nil
Source
get_style(p : Point) : Lipgloss::Style | Nil
Source
height
Source
resize(w : Int32, h : Int32) : Nil
Source
set_cell(p : Point, c : Char, style : Lipgloss::Style | Nil = nil) : Nil
Source
set_cell_style(p : Point, style : Lipgloss::Style) : Nil
Source
set_string(p : Point, s : String, style : Lipgloss::Style | Nil = nil) : Nil
Source
set_style(p : Point, style : Lipgloss::Style) : Nil
Source
view
Source
width
Source