GameMaker Touhou Engine   Home   Downloads   Documentation

_DRAW_TEXT_BORDER()


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


Returns: Void


Syntax:


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

Arguments:


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.

Actions:


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.