JVCL Help:CenterRect

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Centers one TRect inside another.

run\JvCustomItemViewer.pas


Pascal

 run\JvCustomItemViewer.pas
 functionCenterRect(InnerRect: TRect; OuterRect: TRect): TRect;


Parameters

Parameters Description
InnerRect: TRect The rect to center.
OuterRect: TRect The rect to center against.

run\JvCustomItemViewer.pas


Description

CenterRect adjusts the bounds of the inner rect so it is centered in relation to the outer rect.

run\JvCustomItemViewer.pas


About

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