System.Types.TRect.IntersectRect

From RAD Studio API Documentation
Jump to: navigation, search

C++

inline bool TRect::IntersectRect(const TRect &R1, const TRect &R2) {

Properties

Type Visibility Source Unit Parent
function public SystemTypes.h System.Types TRect

Description

Tests whether two rectangles intersect.

IntersectRect returns True if the intersection between the R1 and R2 rectangles is not empty, and False, otherwise.

See Also