Method | Description | |
---|---|---|
Clamp ( double x, double min, double max ) : double | ||
Clamp ( float x, float min, float max ) : float | ||
Clamp ( int x, int min, int max ) : int | ||
ClampToByte ( double x ) : byte | ||
ClampToByte ( float x ) : byte | ||
ClampToByte ( int x ) : byte | ||
ColorDifference ( |
||
ColorDifferenceSquared ( |
||
FastDivideShortByByte ( ushort n, byte d ) : int | ||
FastScaleByteByByte ( byte a, byte b ) : byte | ||
GetLinePoints ( Point first, Point second ) : Point[] | ||
GetRegionBounds ( |
Allows you to find the bounding box for a "region" that is described as an array of bounding boxes.
|
|
GetStaticName ( |
||
InflateRectangles ( |
||
Lerp ( double from, double to, double frac ) : double | ||
Lerp ( float from, float to, float frac ) : float | ||
RectanglesToRegion ( |
||
Swap ( int &a, int &b ) : void |
Method | Description | |
---|---|---|
IsNumber ( float x ) : bool |
public static Clamp ( double x, double min, double max ) : double | ||
x | double | |
min | double | |
max | double | |
return | double |
public static Clamp ( float x, float min, float max ) : float | ||
x | float | |
min | float | |
max | float | |
return | float |
public static Clamp ( int x, int min, int max ) : int | ||
x | int | |
min | int | |
max | int | |
return | int |
public static ClampToByte ( double x ) : byte | ||
x | double | |
return | byte |
public static ColorDifference ( |
||
a | ||
b | ||
return | int |
public static ColorDifferenceSquared ( |
||
a | ||
b | ||
return | int |
public static FastDivideShortByByte ( ushort n, byte d ) : int | ||
n | ushort | |
d | byte | |
return | int |
public static FastScaleByteByByte ( byte a, byte b ) : byte | ||
a | byte | |
b | byte | |
return | byte |
public static GetLinePoints ( Point first, Point second ) : Point[] | ||
first | Point | |
second | Point | |
return | Point[] |
public static GetRegionBounds ( |
||
rects | ||
startIndex | int | |
length | int | |
return |
public static GetStaticName ( |
||
type | ||
return | string |
public static InflateRectangles ( |
||
rects | ||
len | int | |
return | System.Drawing.Rectangle[] |
public static Lerp ( double from, double to, double frac ) : double | ||
from | double | |
to | double | |
frac | double | |
return | double |
public static Lerp ( float from, float to, float frac ) : float | ||
from | float | |
to | float | |
frac | float | |
return | float |
public static RectanglesToRegion ( |
||
rects | ||
return |