JCL Help:RectIsValid

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Tests if R is a valid rectangle.


Pascal

 function RectIsValid(const R: TRect): Boolean;


Parameters

Parameters Description
const R: TRect The rectangle to test.


Return Value

If the rectangle is valid the function returns True, otherwise it returns False.


Description

RectIsValid tests if the specified rectangle is valid, or in Win32 terms, normalized. A rectangle is considered valid if Left is smaller than or equal to Right and Top is smaller than or equal to Bottom.


See Also

RectsAreValid


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