JCL Help:RectGrowY

From Project JEDI Wiki
Jump to navigationJump to search


Summary

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


Pascal

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

RectGrowY expands the vertical dimension of the rectangle with Delta in each direction. As such, Top becomes Top - Delta, Bottom becomes Bottom + Delta. Note that specifying a negative Delta effectively shrinks the rectangle. However, this may leave you with a denormalized rectangle!


See Also

RectGrow RectGrowX


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