Ejemplo n.º 1
0
 public static bool AtRange(this Point v, Rectangle range) { return range == default(Rectangle) || v.AtRange(range.X, range.X + range.Width - 1, range.Y, range.Y + range.Height - 1); }
Ejemplo n.º 2
0
 public static bool AtRange(this Point v, Point location, Size size) { return v.AtRange(new Rectangle(location, size)); }