C# Class PixelBuffer, NewTOAPIA

Inheritance: IPixelBuffer
Afficher le fichier Open project: Wiladams/NewTOAPIA Class Usage Examples

Méthodes publiques

Méthode Description
ClearToBlack ( ) : void
ClearToWhite ( ) : void
GetPixel ( int x, int y ) : uint
PixelBuffer ( int width, int height ) : System
SetPixel ( int x, int y, uint color ) : bool

Private Methods

Méthode Description
CalculateByteOffset ( int x, int y ) : int

Calculate the byte offset of a particular pixel.

Method Details

ClearToBlack() public méthode

public ClearToBlack ( ) : void
Résultat void

ClearToWhite() public méthode

public ClearToWhite ( ) : void
Résultat void

GetPixel() public méthode

public GetPixel ( int x, int y ) : uint
x int
y int
Résultat uint

PixelBuffer() public méthode

public PixelBuffer ( int width, int height ) : System
width int
height int
Résultat System

SetPixel() public méthode

public SetPixel ( int x, int y, uint color ) : bool
x int
y int
color uint
Résultat bool