draw.SimpleText
number, number draw.SimpleText( string text, string font = "DermaDefault", number x = 0, number y = 0, table color = Color( 255, 255, 255, 255 ), number xAlign = TEXT_ALIGN_LEFT, number yAlign = TEXT_ALIGN_TOP )
Description
Draws text on the screen.
This function does not handle newlines properly. See draw.DrawText for a function that does.
This is a rendering function that requires a 2d rendering context.
This means that it will only work in 2d Rendering Hooks.
Arguments
2 string font = "DermaDefault"
The font. See surface.CreateFont to create your own, or see Default Fonts for a list of default fonts.
Returns
Example
Example usage
Page views: 101,075
Updated: A Long Time Ago
Updated: A Long Time Ago