drawLine(x1: Number, y1: Number, x2: Number, y2: Number);
x1. X coordinate of start line point.
y1. Y coordinate of start line point.
x2. X coordinate of end line point.
y2. Y coordinate of end line point.
The drawLine method draws a line on the canvas.
The line is displayed on the canvas after calling the Canvas.flush method.
The example of method use is given in description of the Canvas.StrokeDashArray property.
See also: