User Tools

Site Tools


en:line

Differences

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

Link to this comparison view

en:line [2016/01/01 22:41]
127.0.0.1 external edit
en:line [2020/02/28 10:46]
Line 1: Line 1:
-===== Line (Statement) ===== 
-==== Format ==== 
-**line** //x0//, //y0//, //x1//, //y1//\\ 
-**line** ( //x0//, //y0//, //x1//, //y1// ) 
  
-==== Description ==== 
-Draws a line from the point x0,y0 to the point x1, y1 with the current pen [[color|color]].  The width of the line may be adjusted using the [[PenWidth|PenWidth]] statement. 
- 
-==== Example ==== 
- 
-<code> 
-clg 
- 
-color black 
- 
-line 50,50,200,200 
- 
-penwidth 5 
-line 100,200,200,200 
- 
-penwidth 10 
-line 100,200,50,50 
-</code> 
-draws\\ 
-{{:line.png|Line}} 
- 
-==== See Also ==== 
-{{page>en:start#Graphics - Drawing&noheader}} 
- 
-==== History ====  
-||| 
en/line.txt ยท Last modified: 2020/02/28 10:46 (external edit)