draw_set_valign - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
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");