This shows you the differences between two versions of the page.
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]]. | ||
- | |||
- | ==== Example ==== | ||
- | |||
- | < | ||
- | clg | ||
- | |||
- | color black | ||
- | |||
- | line 50, | ||
- | |||
- | penwidth 5 | ||
- | line 100, | ||
- | |||
- | penwidth 10 | ||
- | line 100, | ||
- | </ | ||
- | draws\\ | ||
- | {{: | ||
- | |||
- | ==== See Also ==== | ||
- | {{page> | ||
- | |||
- | ==== History ==== | ||
- | ||| |