PowerArgs.Cli.ConsoleBitmap.IsInScope C# (CSharp) 메소드

IsInScope() 개인적인 메소드

private IsInScope ( int x, int y ) : bool
x int
y int
리턴 bool
        private bool IsInScope(int x, int y)
        {
            if (x < 0 || x >= Width) return false;
            if (y < 0 || y >= Height) return false;
            return scope.Contains(x, y);
        }