Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
Draw2DLine
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. 

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

Draws a 2D line. 

 

Copyright (c) 2012. All rights reserved.