Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Sets a single pixel to a color.
Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)
Syntax
'Declaration
Public Sub SetPixel ( _
color As Color, _
x As Integer, _
y As Integer _
)
public void SetPixel(
Color color,
int x,
int y
)
public:
void SetPixel(
Color color,
int x,
int y
)
member SetPixel :
color:Color *
x:int *
y:int -> unit
public function SetPixel(
color : Color,
x : int,
y : int
)
Parameters
- color
Type: Microsoft.SPOT.Presentation.Media. . :: . .Color
The color value to set the pixel to.
- x
Type: System. . :: . .Int32
The horizontal coordinate of the pixel.
- y
Type: System. . :: . .Int32
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.