C# Class Rooler.ScreenCoordinates

Afficher le fichier Open project: peteblois/rooler Class Usage Examples

Méthodes publiques

Méthode Description
Collapse ( IntRect rect ) : IntRect
Collapse ( IntRect rect, IScreenShot screenshot ) : IntRect
ExpandPoint ( IntPoint position ) : IntRect
ExpandPoint ( IntPoint position, IScreenShot screenshot ) : IntRect

Private Methods

Méthode 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 méthode

public static Collapse ( IntRect rect ) : IntRect
rect IntRect
Résultat IntRect

Collapse() public static méthode

public static Collapse ( IntRect rect, IScreenShot screenshot ) : IntRect
rect IntRect
screenshot IScreenShot
Résultat IntRect

ExpandPoint() public static méthode

public static ExpandPoint ( IntPoint position ) : IntRect
position IntPoint
Résultat IntRect

ExpandPoint() public static méthode

public static ExpandPoint ( IntPoint position, IScreenShot screenshot ) : IntRect
position IntPoint
screenshot IScreenShot
Résultat IntRect