This shows you the differences between two versions of the page.
es:rect [2016/01/01 22:43] |
es:rect [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Rect ===== | ||
+ | ==== Formato ==== | ||
+ | **rect** // | ||
+ | **rect** ( //x//, //y//, // | ||
+ | ==== Descripción ==== | ||
+ | Dibuja un rectángulo de (anchura x altura) pixels, usando el color actual. La esquina superior izquierda estará situada en //x//, //y//. | ||
+ | === Ejemplo ==== | ||
+ | < | ||
+ | color white | ||
+ | rect 0, | ||
+ | color red | ||
+ | rect 50, | ||
+ | color blue | ||
+ | rect 100, | ||
+ | color green | ||
+ | rect 10, | ||
+ | </ | ||
+ | mostrará: | ||
+ | {{: |