dsfml ~master (2021-10-04T07:02:59.4470602)
Dub
Repo
Text.setFont
dsfml
graphics
text
Text
Set the text's font.
More...
class
Text
deprecated
void
setFont
(
Font
newFont
)
Parameters
newFont
Font
New font
Detailed Description
Deprecated: Use the 'font' property instead.
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
mixins
__anonymous
properties
characterSize
fillColor
font
globalBounds
localBounds
outlineColor
outlineThickness
string
style
Set the text's font.