User Tools

Site Tools


pt:line

Differences

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

Link to this comparison view

pt:line [2016/01/01 22:48] (current)
Line 1: Line 1:
 +===== Line =====
 +==== Formato ====
 +**line** //x0//, //y0//, //x1//, //y1//\\
 +**line**(//​x0//,​ //y0//, //x1//, //y1//)
 +
 +==== Descrição ====
 +Desenha uma linha de x0,y0 até à coordenada x1, y1.
 +
 +==== Exemplo ====
 +
 +<​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>​
 +desenha\\
 +{{:​en:​line.png|Line}}
  
pt/line.txt · Last modified: 2016/01/01 22:48 (external edit)