PixelDisplay.color
Revision as of 07:13, 1 March 2024 by Marc Gurevitx (talk | contribs) (merging example from PixelDipslay.color)
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