C# Class BodyTetrisWrapper.ImageUtils

Afficher le fichier Open project: NBLANCHE/Project

Méthodes publiques

Méthode Description
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[]

Method Details

BlackOut() public static méthode

public static BlackOut ( byte pixels, int shape, int orientation, int w, int h ) : void
pixels byte
shape int
orientation int
w int
h int
Résultat void

ImageGetSquare() public static méthode

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
Résultat byte[]

ImageSubset() public static méthode

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
Résultat byte[]

ImageSubsetUnit() public static méthode

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
Résultat byte[]

RotateImage() public static méthode

public static RotateImage ( byte pixels, int w, int h, int rotation ) : byte[]
pixels byte
w int
h int
rotation int
Résultat byte[]

RotateImage90s() public static méthode

public static RotateImage90s ( byte pixels, int w, int h, int rotation ) : byte[]
pixels byte
w int
h int
rotation int
Résultat byte[]