ysge v1.1.0 (2023-05-25T17:36:40Z)
Dub
Repo
TextScreen.WriteStringCentered
ysge
ui
terminal
TextScreen
writes a string centered horizontally
class
TextScreen
void
WriteStringCentered
(
size_t
yPos
,
string
str
,
ubyte
fg
=
Colour.White
,
ubyte
bg
=
Colour.Black
)
Meta
Source
See Implementation
ysge
ui
terminal
TextScreen
constructors
this
functions
Clear
DrawBox
FillRect
GetSize
HandleEvent
HorizontalLine
Render
SetCell
SetCharacter
SetSize
VerticalLine
WriteString
WriteStringCentered
WriteStringLines
WriteStringLinesCentered
variables
cellSize
cells
characters
palette
writes a string centered horizontally