|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| draw.ID.setPixel(X1, Y1, Color) |
Parameters
| INT | X1, Y1 | Coordinates of the first pixel to read
| | INT | Color | New color of the pixel |
Return value
No value is returned.
Description
Set the color of a pixel.
|
MioScript Sample Code
draw.main.setPixel(50,50,num.rgb(255,255,0))
draw.main.paint() |
|
|
|