dsfml ~master (2017-10-11T01:10:36Z)
Home
Dub
Repo
Text.setString
dsfml
graphics
text
Text
Set the text's string.
A text's string is empty by default.
class
Text
void
setString
(
T
)
(
immutable
(
T
)[]
text
)
if
(
is
(
T
==
dchar
) ||
is
(
T
==
wchar
)
||
is
(
T
==
char
)
)
Parameters
text
Type:
immutable
(
T
)[]
New string
Meta
Source
See Implementation
dsfml
graphics
text
Text
constructors
this
destructors
~this
enums
Style
functions
draw
findCharacterPos
getCharacterSize
getColor
getFont
getGlobalBounds
getLocalBounds
getString
getStyle
setCharacterSize
setColor
setFont
setString
setStyle
Set the text's string.
A text's string is empty by default.