JCL Help:RectBounds

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Initializes a rectangle by bounds.


Pascal

 function RectBounds(const Left: Integer; const Top: Integer; const Width: Integer; const Height: Integer): TRect;


Parameters

Parameters Description
const Left: Integer Left coordinate of the rectangle.
const Top: Integer Top coordinate of the rectangle.
const Width: Integer Width of the rectangle.
const Height: Integer Height of the rectangle.


Return Value

A TRect initialized with the specified coordinates/dimensions.


Description

RectBounds returns a rectangle with its top-left corner set to the combination of Left and Top and with a width and height of Width and Height respectively.


See Also

RectAssignPoints RectCopy RectAssign


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