public bool OnEdge(int width, int height) { return (Point.X == 0 || Point.Y == 0 || Point.Y == width - 1 || Point.Y == height - 1); }