PixelDisplay.clear

From MiniScript Wiki
Revision as of 23:56, 28 April 2020 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.