The WriteableBitmap.
The x coordinate (row).
The y coordinate (column).
The alpha value of the color.
The color.
SetPixel(WriteableBitmap,Int32,Int32,Byte,Color) Method
Sets the color of the pixel using an extra alpha value. For best performance this method should not be used in iterative real-time scenarios. Implement the code directly inside a loop.
Syntax
[Extension()]
public static void SetPixel( 
   WriteableBitmap bmp,
   int x,
   int y,
   byte a,
   Color color
)

Parameters

bmp
The WriteableBitmap.
x
The x coordinate (row).
y
The y coordinate (column).
a
The alpha value of the color.
color
The color.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also