-
Notifications
You must be signed in to change notification settings - Fork 0
Draw_set_valign
hpgDesigns edited this page Aug 8, 2021
·
1 revision
NOTOC
Set the vertical alignment for drawing text. valign is the vertical alignment.
-
valign: Vertical alignment to set. Valid values are:
- fa_top (default)
- fa_middle
- fa_bottom
none
//draws a vertically centered text at mouse position
draw_set_valign(fa_middle);
draw_text(mouse_x,mouse_y,"This is a vertically centered string#With multiple lines");This is number 1