public bool Inside(int x, int y) { Point p = GetOffset(x, y); return p.X >= 0 && p.X < Width && p.Y >= 0 && p.Y < Height; }