C# Class GR.Imaging.PixelMask

Show file Open project: alexhanh/Botting-Library Class Usage Examples

Public Methods

Method Description
FromPosHexString ( string s ) : PixelMask
IsMatch ( Bitmap bitmap ) : bool
IsMatch ( FastBitmap bitmap ) : bool
IsMatch ( FastBitmap bitmap, int tolerance ) : bool
Offset ( Point p ) : void
PixelMask ( Point location, Color color ) : System
PixelMask ( int x, int y, Color color ) : System
PixelMask ( int x, int y, int argb ) : System
PixelMask ( int x, int y, int r, int g, int b ) : System
ToColor ( ) : Color

Method Details

FromPosHexString() public static method

public static FromPosHexString ( string s ) : PixelMask
s string
return PixelMask

IsMatch() public method

public IsMatch ( Bitmap bitmap ) : bool
bitmap System.Drawing.Bitmap
return bool

IsMatch() public method

public IsMatch ( FastBitmap bitmap ) : bool
bitmap FastBitmap
return bool

IsMatch() public method

public IsMatch ( FastBitmap bitmap, int tolerance ) : bool
bitmap FastBitmap
tolerance int
return bool

Offset() public method

public Offset ( Point p ) : void
p Point
return void

PixelMask() public method

public PixelMask ( Point location, Color color ) : System
location Point
color Color
return System

PixelMask() public method

public PixelMask ( int x, int y, Color color ) : System
x int
y int
color Color
return System

PixelMask() public method

public PixelMask ( int x, int y, int argb ) : System
x int
y int
argb int
return System

PixelMask() public method

public PixelMask ( int x, int y, int r, int g, int b ) : System
x int
y int
r int
g int
b int
return System

ToColor() public method

public ToColor ( ) : Color
return Color