JCL Help:RectGrowX

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Expands the horizontal dimension of a rectangle by the specified amount.


Pascal

 procedure RectGrowX(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

RectGrowX expands the horizontal dimension of the rectangle with Delta in each direction. As such, Left becomes Left - Delta, Right becomes Right + Delta. Note that specifying a negative Delta effectively shrinks the rectangle. However, this may leave you with a denormalized rectangle!


See Also

RectGrow 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