Pinta.Core.BitVector2DSurfaceAdapter.Get C# (CSharp) Method

Get() public method

public Get ( int x, int y ) : bool
x int
y int
return bool
        public bool Get(int x, int y)
        {
            if (x < 0 || x >= this.Width)
            {
                throw new ArgumentOutOfRangeException("x");
            }

            if (y < 0 || y >= this.Height)
            {
                throw new ArgumentOutOfRangeException("y");
            }

            return GetUnchecked(x, y);
        }