C# Class Rooler.ScreenCoordinates

Exibir arquivo Open project: peteblois/rooler Class Usage Examples

Public Methods

Method Description
Collapse ( IntRect rect ) : IntRect
Collapse ( IntRect rect, IScreenShot screenshot ) : IntRect
ExpandPoint ( IntPoint position ) : IntRect
ExpandPoint ( IntPoint position, IScreenShot screenshot ) : IntRect

Private Methods

Method Description
FindNearestX ( int xStart, int yStart, int yEnd, int xIncrement, IScreenShot screenshot ) : IntPoint
FindNearestY ( int xStart, int xEnd, int yStart, int yIncrement, IScreenShot screenshot ) : IntPoint
IsPixelClose ( int a, int b ) : bool
ScreenCoordinates ( ) : System

Method Details

Collapse() public static method

public static Collapse ( IntRect rect ) : IntRect
rect IntRect
return IntRect

Collapse() public static method

public static Collapse ( IntRect rect, IScreenShot screenshot ) : IntRect
rect IntRect
screenshot IScreenShot
return IntRect

ExpandPoint() public static method

public static ExpandPoint ( IntPoint position ) : IntRect
position IntPoint
return IntRect

ExpandPoint() public static method

public static ExpandPoint ( IntPoint position, IScreenShot screenshot ) : IntRect
position IntPoint
screenshot IScreenShot
return IntRect