This shows you the differences between two versions of the page.
pt:rect [2016/01/01 22:48] |
pt:rect [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Rect ===== | ||
+ | ==== Formato ==== | ||
+ | **rect** // | ||
+ | **rect** ( //x//, //y//, //width//, //height// ) | ||
+ | ==== Descrição ==== | ||
+ | Desenha um rectângulo de dimenções //width// x //height//. O canto de cima à esquerda fica em // | ||
+ | ==== Exemplo ==== | ||
+ | < | ||
+ | color white | ||
+ | rect 0, | ||
+ | color red | ||
+ | rect 50, | ||
+ | color blue | ||
+ | rect 100, | ||
+ | color green | ||
+ | rect 10, | ||
+ | </ | ||
+ | desenha\\ | ||
+ | {{: |