C# Class Tibialyzer.HelperFunctions

Mostra file Open project: Mytherin/Tibialyzer

Public Methods

Method Description
Clamp ( this original ) : Bitmap
ClampPercentage ( this percentage ) : double
ClampPercentage ( this percentage ) : float
Contains ( this array, int start, int length, string text ) : bool
Contains ( this s, string text, System.StringComparison stringComparison ) : bool
IndexOf ( this s, string text ) : int
ToGrayscale ( this original ) : Bitmap
ToTitle ( this str ) : string
isDigit ( this c ) : bool

Method Details

Clamp() public static method

public static Clamp ( this original ) : Bitmap
original this
return System.Drawing.Bitmap

ClampPercentage() public static method

public static ClampPercentage ( this percentage ) : double
percentage this
return double

ClampPercentage() public static method

public static ClampPercentage ( this percentage ) : float
percentage this
return float

Contains() public static method

public static Contains ( this array, int start, int length, string text ) : bool
array this
start int
length int
text string
return bool

Contains() public static method

public static Contains ( this s, string text, System.StringComparison stringComparison ) : bool
s this
text string
stringComparison System.StringComparison
return bool

IndexOf() public static method

public static IndexOf ( this s, string text ) : int
s this
text string
return int

ToGrayscale() public static method

public static ToGrayscale ( this original ) : Bitmap
original this
return System.Drawing.Bitmap

ToTitle() public static method

public static ToTitle ( this str ) : string
str this
return string

isDigit() public static method

public static isDigit ( this c ) : bool
c this
return bool