System.Types.TRect.Union

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function Union(const R1: TRect; const R2: TRect): TRect; overload; static;
procedure Union(const R: TRect); overload;
class function Union(const Points: Array of TPoint): TRect; overload; static;

C++

inline void TRect::Union(const TRect &r) {
inline TRect TRect::Union(const TRect &r1, const TRect& r2) {
static TRect Union(const TPoint* points, int npoints) _ALWAYS_INLINE {

Properties

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

Description

Calculates the union between two rectangles.

Union returns a TRect object that represents the union between two rectangles.

See Also