C# Class FFImageLoading.Work.BitmapHolder

Inheritance: IBitmap
Show file Open project: daniel-luberda/FFImageLoading Class Usage Examples

Public Methods

Method Description
BitmapHolder ( byte pixels, int width, int height ) : FFImageLoading.Extensions
FreePixels ( ) : void
GetPixelAsColor ( int pos ) : System.Color
GetPixelAsColor ( int x, int y ) : System.Color
GetPixelAsInt ( int pos ) : int
GetPixelAsInt ( int x, int y ) : int
SetPixel ( int pos, Color color ) : void
SetPixel ( int pos, int color ) : void
SetPixel ( int x, int y, Color color ) : void
SetPixel ( int x, int y, int color ) : void

Method Details

BitmapHolder() public method

public BitmapHolder ( byte pixels, int width, int height ) : FFImageLoading.Extensions
pixels byte
width int
height int
return FFImageLoading.Extensions

FreePixels() public method

public FreePixels ( ) : void
return void

GetPixelAsColor() public method

public GetPixelAsColor ( int pos ) : System.Color
pos int
return System.Color

GetPixelAsColor() public method

public GetPixelAsColor ( int x, int y ) : System.Color
x int
y int
return System.Color

GetPixelAsInt() public method

public GetPixelAsInt ( int pos ) : int
pos int
return int

GetPixelAsInt() public method

public GetPixelAsInt ( int x, int y ) : int
x int
y int
return int

SetPixel() public method

public SetPixel ( int pos, Color color ) : void
pos int
color Color
return void

SetPixel() public method

public SetPixel ( int pos, int color ) : void
pos int
color int
return void

SetPixel() public method

public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
return void

SetPixel() public method

public SetPixel ( int x, int y, int color ) : void
x int
y int
color int
return void