public ContainPoint ( int x, int y ) : bool | ||
x | int | |
y | int | |
Результат | bool |
public bool ContainPoint(int x, int y)
{
return ((x >= b_left && x < Right) && (y >= b_top && y < Bottom));
}
public bool ContainRect(Rectangle r)