paintutils.drawPixel
From ComputerCraft Wiki
Revision as of 08:17, 29 March 2013 by Viproz (Talk | contribs) (BTW need someone to test what it returns)
| Draw a pixel on the screen | |
| Syntax | paintutils.drawPixel(int x, int y, colour colour) |
| Returns | To complete |
| Part of | ComputerCraft |
| API | paintutils |
Examples
| This code will draw a red pixel at the position (10, 8) | |
| Code |
image = paintutils.drawPixel(10, 8, colour.red) |