示例#1
0
 public Matrix(int height, int width, PixelFormat pixelFormat, Pixel[,] pixels)
 {
     Height      = height;
     Width       = width;
     PixelFormat = pixelFormat;
     Pixels      = pixels;
 }
示例#2
0
 public Matrix(int height, int width, PixelFormat pixelFormat)
 {
     Height      = height;
     Width       = width;
     PixelFormat = pixelFormat;
     Pixels      = new Pixel[height, width];
 }