Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_System::Draw2DLine Method
Syntax
C++
int Draw2DLine(IFunctionHandler * pH);
Parameters 
Description 
p1x 
X value of the start point of the line. !  
p1y 
Y value of the start point of the line. !  
p2x 
X value of the end point of the line. !  
p2y 
Y value of the end point of the line. !  
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. ! Draws a 2D line.
 

!

System.Draw2DLine(p1x, p1y, p2x, p2y, r, g, b, alpha )

!

Copyright (c) 2012. All rights reserved.