Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
DrawText
Syntax
C++
int DrawText(IFunctionHandler * pH);
Parameters 
Description 
X position for the text. 
Y position for the text. 
text 
Text to be displayed. 
font 
Font name. 
size 
Text size. 
Red component for the label color. Default is 1. 
Green component for the label color. Default is 1. 
Blue component for the label color. Default is 1. 
alpha 
Alpha component for the label color. Default is 1. 

Syntax: System.DrawText( x, y, text, font, size, p2y, r, g, b, alpha ) 

Draws a text.

Copyright (c) 2012. All rights reserved.