DrawRoundedTextBox
PIXEL.DrawRoundedTextBox( string text, string font, number x, number y, number xAlign = TEXT_ALIGN_LEFT, color textColor, number radius, number padding, Color boxColor )
Description
Draws a rounded box which expands to fit the provided text.
Arguments
string text
The text to draw.
string font
The identifier of the font to use.
number x
The X coordinate to draw at.
number y
The Y coordinate to draw at.
number xAlign = TEXT_ALIGN_LEFT
The horizontal alignment.
color textColor
The color of the text.
number radius
The radius of the rounded corners.
number padding
The amount of padding around the text.
Color boxColor
The color of the box.