JCL Help:RectUnion

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Calculates the union of two rectangles.


Pascal

 function RectUnion(const R1: TRect; const R2: TRect): TRect;


Parameters

Parameters Description
const R1: TRect The first rectangle.
const R2: TRect The second rectangle.


Return Value

The union of the two rectangles, or a null rectangle if the union is empty.


Description

RectUnion returns the union of two rectangles. In this context, the union is defined as the smallest rectangle that contains the two specified rectangles. If the union is empty a null rectangle is returned.


About

Unit

JclGraphUtils


Donator

Pelle F. S. Liljendal


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page