box  ( x y width height -- )

publication: 11 mars 2023 / mis à jour 28 novembre 2023

Read this page in english

 

Trace un rectangle plein coloré.

Exemple:

: myBox ( color -- )  
    color! 10 10 400 200 box  
  ;  
web gr  
gridWidth gridHeight window  
lightGrey color! drawGrid  
fullRed myBox  
1 12 rotate  
lightBlue color! drawGrid  
fullBlue myBox 

Legal: site web personnel sans commerce / personal site without seling