RECT

rect( x1, y1, x2, y2, color )
rect = rectangle
x1 |
number of pixels from the left going right for the first corner |
y1 |
number of pixels from the top going down for the first corner |
x2 |
number of pixels from the left going right for the second corner |
y2 |
number of pixels from the top going down for the second corner |
color |
(optional) a color number |

![]()
rectfill( x1, y1, x2, y2, color )
rectfill = rectangle filled
x1 |
number of pixels from the left going right for the first corner |
y1 |
number of pixels from the top going down for the first corner |
x2 |
number of pixels from the left going right for the second corner |
y2 |
number of pixels from the top going down for the second corner |
color |
(optional) a color number |

![]()
Images in this Guide by NerdyTeachers is licensed under CC BY-SA 4.0

2542
21 Mar 2023

