PowerArgs.Cli.ConsoleBitmap.IsInScope C# (CSharp) Method

IsInScope() private method

private IsInScope ( int x, int y ) : bool
x int
y int
return 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);
        }