PixelDisplay.fillRect
Revision as of 02:36, 1 May 2020 by ZachStrout (talk | contribs) (Created page with "<c>PixelDisplay.fillRect</c> fills an axis-aligned rectangle on the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !!...")
PixelDisplay.fillRect
fills an axis-aligned rectangle on the pixel display.
Arguments
Parameter Name | Type | Default Value | Meaning |
---|---|---|---|
left | number | 0 | left side of rectangle |
bottom | number | 0 | bottom side of rectangle |
width | number | 100 | rectangle width |
height | number | 100 | rectangle height |
color | color | self.color | color to draw |
Example
gfx.fillRect 100, 200, 400, 150