User Tools

Site Tools


fr:line

Differences

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

Link to this comparison view

fr:line [2016/01/01 22:44]
fr:line [2020/02/28 10:46] (current)
Line 1: Line 1:
 +===== Line =====
 +==== Format ====
 +**line** //x0//, //y0//, //x1//, //y1//\\
 +**line**(//x0//, //y0//, //x1//, //y1//)
 +
 +==== Description ====
 +Trace une ligne reliant les points x0,y0 et x1, y1.
 +
 +==== Exemple ====
 +
 +<code>
 +color white
 +rect 0,0,300,300
 +color black
 +line 50,50,200,200
 +line 100,200,200,200
 +line 100,200,50,50
 +</code>
 +Affichera\\
 +{{:en:line.png|Line}}