DrawingContext.SetPixel Method
Sets a single pixel to a color.
Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)
Syntax
public void SetPixel (
Colorcolor,
intx,
inty
)
Parameters
- color
The color value to set the pixel to. - x
The horizontal coordinate of the pixel. - y
The vertical coordinate of the pixel.
Remarks
In addition to the values Black and White, your program can set the color parameter to any color using RGB values in hexadecimal format. For example, setting color to 0x00FF0000 specifies red.
See Also
Reference
DrawingContext Class
DrawingContext Members
Microsoft.SPOT.Presentation.Media Namespace