nudsfml v0.0.10-alpha (2023-02-09T04:48:03Z)
Dub
Repo
Text.setFont
nudsfml
graphics
text
Text
Set the text's font.
class
Text
void
setFont
(
Font
newFont
)
Parameters
newFont
Font
New font
//deprecated: Use the 'font' property instead.
Meta
Source
See Implementation
nudsfml
graphics
text
Text
constructors
this
destructors
~this
enums
Style
functions
draw
findCharacterPos
getCharacterSize
getColor
getFont
getGlobalBounds
getLocalBounds
getString
getStyle
setCharacterSize
setColor
setFont
setString
setStyle
mixins
__anonymous
properties
characterSize
fillColor
font
globalBounds
localBounds
outlineColor
outlineThickness
string
style
Set the text's font.