Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Tui::BoxModel
Inherits
Struct
/
Value
/
Object
Box model for margins and padding (in cells)
Constructors
all
(value :
Int32
) :
BoxModel
Source
new
(top :
Int32
= 0, right :
Int32
= 0, bottom :
Int32
= 0, left :
Int32
= 0)
Source
symmetric
(vertical :
Int32
, horizontal :
Int32
) :
BoxModel
Source
zero
Source
Instance methods
bottom
Source
bottom=
(bottom :
Int32
)
Source
horizontal
Source
left
Source
left=
(left :
Int32
)
Source
right
Source
right=
(right :
Int32
)
Source
top
Source
top=
(top :
Int32
)
Source
vertical
Source