JCL Help:RectGrow

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Expands a rectangle by the specified amount.


Pascal

 procedure RectGrow(var R: TRect; const Delta: Integer);


Parameters

Parameters Description
var R: TRect The rectangle to expand.
const Delta: Integer The amount with which to expand the rectangle.


Description

RectGrow expands the rectangle with Delta in each direction. As such, all members of the TRect record are altered. Left becomes Left - Delta, Right becomes Right + Delta and so forth. Note that specifying a negative Delta effectively shrinks the rectangle. However, this may leave you with a denormalized rectangle!


See Also

RectGrowX RectGrowY


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