This shows you the differences between two versions of the page.
fr:rect [2016/01/01 22:45] |
fr:rect [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Rect ===== | ||
+ | ==== Format ==== | ||
+ | **rect** // | ||
+ | **rect** ( //x//, //y//, // | ||
+ | ==== Description ==== | ||
+ | Dessine un rectangle de dimensions //largeur// x //hauteur// pixels en utilisant la couleur en cours. | ||
+ | ==== Example ==== | ||
+ | < | ||
+ | color white | ||
+ | rect 0, | ||
+ | color red | ||
+ | rect 50, | ||
+ | color blue | ||
+ | rect 100, | ||
+ | color green | ||
+ | rect 10, | ||
+ | </ | ||
+ | Affichera :\\ | ||
+ | {{: |