Class: BoxDraw
Fluent box with border style, extend and embedded text.
Constructors
Constructor
new BoxDraw(
t1,p1,t2,p2):BoxDraw
Parameters
t1
i64
p1
f64
t2
i64
p2
f64
Returns
BoxDraw
Methods
border()
border(
c,width?,style?):BoxDraw
Parameters
c
i32
width?
i32 = 1
style?
Stroke = Stroke.Solid
Returns
BoxDraw
draw()
draw(
id?,pane?):void
Parameters
id?
string = ""
pane?
string = ""
Returns
void
extend()
extend(
e):BoxDraw
Parameters
e
Returns
BoxDraw
fill()
fill(
c):BoxDraw
Parameters
c
i32
Returns
BoxDraw
text()
text(
text,color,size?,halign?,valign?):BoxDraw
Parameters
text
string
color
i32
size?
Size = Size.Normal
halign?
Align = Align.Center
valign?
Align = Align.Center
Returns
BoxDraw