CCT.NUI.Core.Rectangle.Contains C# (CSharp) Method

Contains() public method

public Contains ( Point p ) : bool
p Point
return bool
        public bool Contains(Point p)
        {
            return p.X >= this.Location.X && p.Y >= this.Location.Y && p.X <= this.Location.X + this.Size.Width && p.Y <= this.Location.Y + this.Size.Height;
        }