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. |
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.Draw2DLine(p1x, p1y, p2x, p2y, r, g, b, alpha )
Draws a 2D line.
Copyright (c) 2012. All rights reserved.
|