System.Types.TRectF.Union

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

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

Description

Calculates the union between two rectangles.

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

See Also