Table of Contents

Rect

Format

rect x,y,width,height
rect ( x, y, width, height )

Description

Draws a width x height pixel rectangle using the current color. The top left corner is located at x,y.

Example

color white
rect 0,0,300,300
color red
rect 50,50,150,150
color blue
rect 100,100,150,150
color green
rect 10,140,280,20

draws

 
fr/rect.txt · Last modified: 2010/09/05 17:27 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki