Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
DrawText
Syntax
C++
int DrawText(IFunctionHandler * pH);
Parameters 
Description 
x 
X position for the text. 
y 
Y position for the text. 
text 
Text to be displayed. 
font 
Font name. 
size 
Text size. 
r 
Red component for the label color. Default is 1. 
g 
Green component for the label color. Default is 1. 
b 
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.