This shows you the differences between two versions of the page.
pt:line [2016/01/01 22:48] |
pt:line [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Line ===== | ||
+ | ==== Formato ==== | ||
+ | **line** //x0//, //y0//, //x1//, //y1//\\ | ||
+ | **line**(// | ||
+ | |||
+ | ==== Descrição ==== | ||
+ | Desenha uma linha de x0,y0 até à coordenada x1, y1. | ||
+ | |||
+ | ==== Exemplo ==== | ||
+ | |||
+ | < | ||
+ | color white | ||
+ | rect 0,0,300,300 | ||
+ | color black | ||
+ | line 50, | ||
+ | line 100, | ||
+ | line 100, | ||
+ | </ | ||
+ | desenha\\ | ||
+ | {{: | ||