Example #1
0
 public static int GetPixelIntensity(Pixel p)
 {
     return(p.R + p.G + p.B);
 }
Example #2
0
 public void SetPixel(int x, int y, Pixel color)
 {
     pixelArray[x, y] = color;
 }