System.Types.TRect.UnionRect

From RAD Studio API Documentation

C++

inline bool TRect::UnionRect(const TRect &R1, const TRect &R2)

Properties

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

Description

Union of two rectangles.

UnionRect changes the dimensions of the R1 rectangle by unifying it with the R2 rectangle.