class
CryTUI::Buffer
- CryTUI::Buffer
- Reference
- Object
Defined in:
crytui/buffer.crConstructors
Instance Method Summary
- #[](x : Int, y : Int) : Cell
- #[]?(x : Int, y : Int) : Cell | Nil
- #area : Rect
- #cells : Array(Cell)
- #copy : Buffer
- #diff(other : Buffer) : Array(Tuple(Int32, Int32, Cell))
- #lines : Array(String)
- #reset
- #set_string(x : Int, y : Int, text : String, style = Style.new, max_width : Int | Nil = nil) : Int32
- #set_style(area : Rect, style : Style)
Constructor Detail
Instance Method Detail
def set_string(x : Int, y : Int, text : String, style = Style.new, max_width : Int | Nil = nil) : Int32
#