LINE
line( x1, y1, x2, y2, color )
x1 |
number of pixels from the left going right for the starting point |
y1 |
number of pixels from the top going down for the starting point |
x2 |
number of pixels from the left going right for the end point |
y2 |
number of pixels from the top going down for the end point |
color |
(optional) a color number |
Images in this Guide by NerdyTeachers is licensed under CC BY-SA 4.0

1144
20 Mar 2023