PixelDisplay.color

From MiniScript Wiki
Jump to navigation Jump to search

The color property of the PixelDisplay class sets the default drawing color for subsequent drawing calls such as PixelDisplay.line, PixelDisplay.drawRect, and PixelDisplay.fillPoly.

The default value is "#FFFFFFFF", or solid white.

Example

gfx.color = color.green
gfx.fillRect 50,100, 200,200