BodyTetrisWrapper.ImageUtils.ImageSubsetUnit C# (CSharp) Method

ImageSubsetUnit() public static method

public static ImageSubsetUnit ( byte pixels, int w, int h, int squareSize, int X1, int Y1, int X2, int Y2 ) : byte[]
pixels byte
w int
h int
squareSize int
X1 int
Y1 int
X2 int
Y2 int
return byte[]
        public static byte[] ImageSubsetUnit(byte[] pixels, int w, int h, int squareSize, int X1, int Y1, int X2, int Y2)
        {
            return ImageSubset(pixels, w, h, X1 * squareSize, Y1 * squareSize, X2 * squareSize, Y2 * squareSize);
        }