PixelDisplay.height

From MiniScript Wiki
Jump to navigation Jump to search

PixelDisplay.height is the number of pixel rows in the display.

This is a read-only value; to change the width and height of the display, use PixelDisplay.clear.

Example

print gfx.height		// prints 640 in the default state