s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Graphics
HudPainter
DrawText
chevron_left
Graphics
struct
HudPainter
Constructors
functions
HudPainter
Fields
crop_din
list
Methods
functions
DrawCircle
functions
DrawLine
functions
DrawRect
functions
DrawText
functions
DrawTexture
functions
SetBlendMode
functions
SetMatrix
DrawText
Draws text at a 3D point with the specified size, color, and alignment flags.
method
4 overloads
Overloads
1
2
3
4
void
DrawText
(
string
text
,
float
size
,
Color
color
,
Vector2
point
,
TextFlag
flags
)
Parameters
Name
Type
Description
text
string
The text to draw.
size
float
The font size.
color
Color
The color of the text.
point
Vector2
The 3D point to draw the text at.
flags
= 33
TextFlag
Text alignment flags (optional).
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.