Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
DrawLine
Syntax
C++
int DrawLine(IFunctionHandler * pH);
Parameters 
Description 
p1 
Start position of the line. 
p2 
End position of the line. 
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.DrawLine( p1, p2, r, g, b, alpha ) 

Draws a line. 

 

Copyright (c) 2012. All rights reserved.