System.Types.TRect.IntersectsWith
Delphi
function IntersectsWith(const R: TRect): Boolean;
C++
bool IntersectsWith(const TRect &r) const _ALWAYS_INLINE {
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | System.Types.pas SystemTypes.h |
System.Types | TRect |
Description
Tests whether two rectangles intersect.
IntersectsWith returns the Boolean value True if two rectangles intersect. Otherwise, it returns False.