ConsoleFont.drawColoredText

Draw text string to buffer.

class ConsoleFont
override
void
drawColoredText
(,
int x
,
int y
,
const dchar[] text
,,
int tabSize = 4
,
int tabOffset = 0
,
uint textFlags = 0
)

Parameters

x int

x coordinate to draw first character at

y int

y coordinate to draw first character at

text dchar[]

text string to draw

charProps CustomCharProps[]

array of character properties, charPropsi are properties for character texti

tabSize int

tabulation size, in number of spaces

tabOffset int

when string is drawn not from left position, use to move tab stops left/right

textFlags uint

set of TextFlag bit fields

Meta