PixelFarm.Drawing.RectangleF.IntersectsWith C# (CSharp) 메소드

IntersectsWith() 공개 메소드

IntersectsWith Method
Checks if a RectangleF intersects with this one.
public IntersectsWith ( RectangleF rect ) : bool
rect RectangleF
리턴 bool
        public bool IntersectsWith(RectangleF rect)
        {
            return !((Left >= rect.Right) || (Right <= rect.Left) ||
                (Top >= rect.Bottom) || (Bottom <= rect.Top));
        }