SetPixel() public method

Set the color of the specified pixel
public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
return void
Beispiel #1
0
 public void SetPixel(int x, int y, Color color)
 {
     if (!bitmaplock)
     {
         holder.LockBits(); bitmaplock = true;
     }
     holder.SetPixel(x, y, color);
 }