Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
CryTUI::Buffer
Inherits
Reference
<
Object
Constructors
new
(area :
Rect
, fill =
Cell
.new)
Source
Instance methods
[]
(x :
Int
, y :
Int
) :
Cell
Source
[]?
(x :
Int
, y :
Int
) :
Cell
|
Nil
Source
area
Source
cells
Source
copy
Source
diff
(other :
Buffer
) :
Array
(
Tuple
(
Int32
,
Int32
,
Cell
))
Source
lines
Source
reset
Source
set_string
(x :
Int
, y :
Int
, text :
String
, style =
Style
.new, max_width :
Int
|
Nil
= nil) :
Int32
Source
set_style
(area :
Rect
, style :
Style
)
Source