class Drawille::Canvas
- Drawille::Canvas
- Reference
- Object
Defined in:
drawille-cr.crConstructors
Instance Method Summary
- #animate(fps = 20, &)
- #clear
- #get(x : Int, y : Int) : Bool
- #get_pos(x : Int, y : Int) : Int
- #render
- #set(x : Int, y : Int, color : RGB = WHITE)
- #terminal_columns : Int32
- #terminal_columns=(terminal_columns : Int32)
- #terminal_lines : Int32
- #terminal_lines=(terminal_lines : Int32)
- #toggle(x : Int, y : Int)
- #unset(x : Int, y : Int)
- #viewport_area : Int32
- #viewport_area=(viewport_area : Int32)
- #viewport_height : Int32
- #viewport_height=(viewport_height : Int32)
- #viewport_width : Int32
- #viewport_width=(viewport_width : Int32)
Constructor Detail
def self.new(terminal_lines : Int32 = TERMINAL_LINES, terminal_columns : Int32 = TERMINAL_COLUMNS)
#