User Tools

Site Tools


pt:rect

Differences

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

Link to this comparison view

pt:rect [2016/01/01 22:48] (current)
Line 1: Line 1:
 +===== Rect ===== 
 +==== Formato ==== 
 +**rect** //​x//,//​y//,//​width//,//​height//​\\ 
 +**rect** ( //x//, //y//, //width//, //height// ) 
 +==== Descrição ==== 
 +Desenha um rectângulo de dimenções //width// x //height//. O canto de cima à esquerda fica em //​x//,//​y//​. 
 +==== Exemplo ==== 
 +<​code>​ 
 +color white 
 +rect 0,​0,​300,​300 
 +color red 
 +rect 50,​50,​150,​150 
 +color blue 
 +rect 100,​100,​150,​150 
 +color green 
 +rect 10,​140,​280,​20 
 +</​code>​ 
 +desenha\\ 
 +{{:​en:​rect.png|}}
pt/rect.txt · Last modified: 2016/01/01 22:48 (external edit)