draw_line
From ENIGMA
This function is part of the function set Drawing shapes
Notation
draw_line(x1,y1,x2,y2)
Description
Draws a line from point x1,y1 to point x2,y2.
To change the line's color, use draw_set_color();
Parameters
- List parameters with a description of each.
Return Values
Document return values.
Example Call
//Draws a line from point 0,0 to point 10,10.
draw_line(0,0,10,10)
draw_line(0,0,10,10)