Sets the color of a pixel in the C1Bitmap.

Namespace:  C1.Phone.Imaging
Assembly:  C1.Phone.Imaging (in C1.Phone.Imaging.dll)

Syntax

C#
public void SetPixel(
	int col,
	int row,
	byte red,
	byte green,
	byte blue,
	byte alpha
)
Visual Basic
Public Sub SetPixel ( _
	col As Integer, _
	row As Integer, _
	red As Byte, _
	green As Byte, _
	blue As Byte, _
	alpha As Byte _
)

Parameters

col
Type: System..::..Int32
Index of the column that contains the pixel.
row
Type: System..::..Int32
Index of the row that contains the pixel.
red
Type: System..::..Byte
Value of the red component of the pixel.
green
Type: System..::..Byte
Value of the green component of the pixel.
blue
Type: System..::..Byte
Value of the blue component of the pixel.
alpha
Type: System..::..Byte
Value of the alpha component of the pixel (0 is transparent, 0xff is opaque).

See Also