Difference between revisions of "PixelDisplay.color"
Jump to navigation
Jump to search
(Created page with "The <c>color</c> property of the PixelDisplay class sets the default drawing color for subsequent drawing calls such as PixelDisplay.line, PixelDisplay.drawRect, a...") |
(merging example from PixelDipslay.color) |
||
Line 2: | Line 2: | ||
The default value is "#FFFFFFFF", or solid white. | The default value is "#FFFFFFFF", or solid white. | ||
+ | |||
+ | == Example == | ||
+ | |||
+ | <ms>gfx.color = color.green | ||
+ | gfx.fillRect 50,100, 200,200</ms> | ||
[[Category:Mini Micro]] | [[Category:Mini Micro]] |
Latest revision as of 07:13, 1 March 2024
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