Core2D.Math.Rect2.IntersectsWith C# (CSharp) 메소드

IntersectsWith() 공개 메소드

public IntersectsWith ( Rect2 rect ) : bool
rect Rect2
리턴 bool
        public bool IntersectsWith(Rect2 rect)
        {
            return (rect.Left <= Right)
                && (rect.Right >= Left)
                && (rect.Top <= Bottom)
                && (rect.Bottom >= Top);
        }