Difference between revisions of "PixelDisplay.clear"
		
		
		
		
		
		
		Jump to navigation
		Jump to search
		
			
		
		
		
		
		
		
		
	
ZachStrout (talk | contribs)   (Created page with "<c>PixelDisplay.clear</c> clears, resets, and resizes this pixel display.  === Arguments ===  {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning...")  | 
			
(No difference) 
 | 
Revision as of 23:56, 28 April 2020
PixelDisplay.clear clears, resets, and resizes this pixel display.
Arguments
| Parameter Name | Type | Default Value | Meaning | 
|---|---|---|---|
| color | color | color.clear | color to fill the display with | 
| width | number | 960 | new display width | 
| height | number | default 640 | new display height | 
Usage Notes
In addition to clearing the color and setting the size, this method also resets the scale to 1, and scrollX and scrollY to 0.