C# 클래스 BodyTetrisWrapper.ImageUtils

파일 보기 프로젝트 열기: NBLANCHE/Project

공개 메소드들

메소드 설명
BlackOut ( byte pixels, int shape, int orientation, int w, int h ) : void
ImageGetSquare ( byte pixels, int w, int h, int squareSize, int X, int Y ) : byte[]
ImageSubset ( byte pixels, int w, int h, int X1, int Y1, int X2, int Y2 ) : byte[]
ImageSubsetUnit ( byte pixels, int w, int h, int squareSize, int X1, int Y1, int X2, int Y2 ) : byte[]
RotateImage ( byte pixels, int w, int h, int rotation ) : byte[]
RotateImage90s ( byte pixels, int w, int h, int rotation ) : byte[]

메소드 상세

BlackOut() 공개 정적인 메소드

public static BlackOut ( byte pixels, int shape, int orientation, int w, int h ) : void
pixels byte
shape int
orientation int
w int
h int
리턴 void

ImageGetSquare() 공개 정적인 메소드

public static ImageGetSquare ( byte pixels, int w, int h, int squareSize, int X, int Y ) : byte[]
pixels byte
w int
h int
squareSize int
X int
Y int
리턴 byte[]

ImageSubset() 공개 정적인 메소드

public static ImageSubset ( byte pixels, int w, int h, int X1, int Y1, int X2, int Y2 ) : byte[]
pixels byte
w int
h int
X1 int
Y1 int
X2 int
Y2 int
리턴 byte[]

ImageSubsetUnit() 공개 정적인 메소드

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
리턴 byte[]

RotateImage() 공개 정적인 메소드

public static RotateImage ( byte pixels, int w, int h, int rotation ) : byte[]
pixels byte
w int
h int
rotation int
리턴 byte[]

RotateImage90s() 공개 정적인 메소드

public static RotateImage90s ( byte pixels, int w, int h, int rotation ) : byte[]
pixels byte
w int
h int
rotation int
리턴 byte[]