[C#] | public void line(double x1, double y1, double x2, double y2, int c [, int lineWidth ]); |
[VB] | Public Sub line(x1 As Double, y1 As Double, x2 As Double, y2 As Double, c As Integer [, lineWidth As Integer ]) |
ChartDirector 7.1 (.NET Edition)
DrawArea.
Usage
[C#] | public void line(double x1, double y1, double x2, double y2, int c [, int lineWidth ]); |
[VB] | Public Sub line(x1 As Double, y1 As Double, x2 As Double, y2 As Double, c As Integer [, lineWidth As Integer ]) |
Description
Arguments
Argument | Default | Description |
---|---|---|
x1 | (Mandatory) | The x coordinate of the first end-point of the line. |
y1 | (Mandatory) | The y coordinate of the first end-point of the line. |
x2 | (Mandatory) | The x coordinate of the second end-point of the line. |
y2 | (Mandatory) | The y coordinate of the second end-point of the line. |
c | (Mandatory) | The color of the line. |
lineWidth | 1 | The line width (thickness). |
Return Value