CSPspEmu.Core.Utils.PspBitmap.IsValidPosition C# (CSharp) Method

IsValidPosition() public method

public IsValidPosition ( int X, int Y ) : bool
X int
Y int
return bool
        public bool IsValidPosition(int X, int Y)
        {
            return ((X >= 0) && (Y >= 0) && (X < Width) && (Y < Height));
        }