The WriteableBitmap.
The coordinate index.
The alpha value of the color.
The red value of the color.
The green value of the color.
The blue value of the color.
SetPixeli(WriteableBitmap,Int32,Byte,Byte,Byte,Byte) Method
Sets the color of the pixel including the alpha value and using a precalculated index (faster). 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 SetPixeli( 
   WriteableBitmap bmp,
   int index,
   byte a,
   byte r,
   byte g,
   byte b
)

Parameters

bmp
The WriteableBitmap.
index
The coordinate index.
a
The alpha value of the color.
r
The red value of the color.
g
The green value of the color.
b
The blue value of 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