PixelDisplay.print

From MiniScript Wiki
Revision as of 03:34, 1 May 2020 by ZachStrout (talk | contribs) (Created page with "<c>PixelDisplay.print</c> draws some text to the pixel display. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meaning |- | ''str...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

PixelDisplay.print draws some text to the pixel display.

Arguments

Parameter Name Type Default Value Meaning
str string "" string to draw
x number 0 horizontal position at which to start drawing
y number 0 vertical position of bottom of string drawn

Usage Notes

By default this method uses the same font seen in a TextDisplay, but you may get a larger or smaller font using the fontName parameter.

Example