User Tools

Site Tools


en:rect

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

en:rect [2016/08/12 12:38]
admin
en:rect [2020/02/28 10:46]
Line 1: Line 1:
-===== Rect (Statement) ===== 
-==== Format ==== 
-**rect** [[numericexpressions|x_position]],[[numericexpressions|y_position]],[[numericexpressions|width]],[[numericexpressions|height]]\\ 
-**rect** ( [[numericexpressions|x_position]], [[numericexpressions|y_position]], [[numericexpressions|width]], [[numericexpressions|height]] ) 
-==== Description ==== 
-Draws a [[numericexpressions|width]] x [[numericexpressions|height]] pixel rectangle using the current pen and brush colors.  The top left corner is located at [[numericexpressions|x_position]],[[numericexpressions|y_position]]. 
-==== Example ==== 
-<code> 
-clg 
- 
-color red 
-rect 50,50,150,150 
- 
-penwidth 10 
-color blue, yellow 
-rect 100,100,150,150 
- 
-color green, clear 
-rect 10,130,280,40 
-</code> 
-draws\\ 
-{{:rect.png|}} 
- 
-==== See Also ==== 
-{{page>en:start#Graphics - Drawing&noheader}} 
- 
-==== History ====  
-||| 
  
en/rect.txt ยท Last modified: 2020/02/28 10:46 (external edit)