class Drawille::Canvas

Defined in:

drawille-cr.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(terminal_lines : Int32 = TERMINAL_LINES, terminal_columns : Int32 = TERMINAL_COLUMNS) #

[View source]

Instance Method Detail

def animate(fps = 20, &) #

[View source]
def clear #

[View source]
def get(x : Int, y : Int) : Bool #

[View source]
def get_pos(x : Int, y : Int) : Int #

[View source]
def render #

[View source]
def set(x : Int, y : Int, color : RGB = WHITE) #

[View source]
def terminal_columns : Int32 #

[View source]
def terminal_columns=(terminal_columns : Int32) #

[View source]
def terminal_lines : Int32 #

[View source]
def terminal_lines=(terminal_lines : Int32) #

[View source]
def toggle(x : Int, y : Int) #

[View source]
def unset(x : Int, y : Int) #

[View source]
def viewport_area : Int32 #

[View source]
def viewport_area=(viewport_area : Int32) #

[View source]
def viewport_height : Int32 #

[View source]
def viewport_height=(viewport_height : Int32) #

[View source]
def viewport_width : Int32 #

[View source]
def viewport_width=(viewport_width : Int32) #

[View source]