GameMaker Touhou Engine   Home   Downloads   Documentation


A script that draws a string with a semi-transparent border around it.

Returns: Void


_DRAW_TEXT_BORDER(_x, _y, tcol, bcol, bsp, str, alp)


Name Value Significance
_x <integer> The X-coordinate to draw the text at.
_y <integer> The Y-coordinate to draw the text at.
tcol <color> The color of the main text.
bcol <color> The color of the text border.
bsp <integer> The width of the border.
str <string> The text to draw.
alp <real(0-1)> The alpha value of the drawn text.


Draw several semi-transparent (relative to given alpha value) versions of str around the given coordinates with the amount depending on bsp. Draw str at the given coordinates.