User Tools

Site Tools


en:line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:line [2016/01/01 22:41]
127.0.0.1 external edit
en:line [2016/08/13 14:12]
admin
Line 1: Line 1:
 ===== Line (Statement) ===== ===== Line (Statement) =====
 ==== Format ==== ==== Format ====
-**line** //x0////y0////x1////y1//\\ +**line** [[integerexpressions|x1_position]][[integerexpressions|y1_position]][[integerexpressions|x2_position]][[integerexpressions|y2_position]]\\ 
-**line** ( //x0////y0////x1////y1// )+**line** ( [[integerexpressions|x1_position]][[integerexpressions|y1_position]][[integerexpressions|y2_position]][[integerexpressions|y2_position]] )
  
 ==== Description ==== ==== Description ====
-Draws a line from the point x0,y0 to the point x1y1 with the current pen [[color|color]].  The width of the line may be adjusted using the [[PenWidth|PenWidth]] statement.+Draws a line from the point ([[integerexpressions|x1_position]][[integerexpressions|y1_position]]) to the point ([[integerexpressions|x2_position]][[integerexpressions|y2_position]]) with the current pen [[color|color]].  The width of the line may be adjusted using the [[PenWidth|PenWidth]] statement.
  
 ==== Example ==== ==== Example ====
en/line.txt · Last modified: 2020/02/28 10:46 (external edit)