public Matrix(int height, int width, PixelFormat pixelFormat, Pixel[,] pixels) { Height = height; Width = width; PixelFormat = pixelFormat; Pixels = pixels; }
public Matrix(int height, int width, PixelFormat pixelFormat) { Height = height; Width = width; PixelFormat = pixelFormat; Pixels = new Pixel[height, width]; }