-
Notifications
You must be signed in to change notification settings - Fork 0
Draw_set_halign
hpgDesigns edited this page Aug 8, 2021
·
1 revision
NOTOC
Set the horizontal alignment for drawing text. halign is the horizontal alignment.
-
halign: Horizontal alignment to set. Valid values are:
- fa_left (default)
- fa_center
- fa_right
none
//draws a horizontally centered text at mouse position
draw_set_halign(fa_center);
draw_text(mouse_x,mouse_y,"This is a centered string");This is number 1