JCL Help:TJclRegion.RectIn@Integer@Integer@Integer@Integer

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Check if a rectangle is in the region.


Pascal

 public function RectIn(const ARect: TRect): Boolean; overload;
public function RectIn(Top: Integer; Left: Integer; Bottom: Integer; Right: Integer): Boolean; overload;


Parameters

Parameters Description
const ARect: TRect The rectangle describing the region.
Top: Integer X-coordinate of the upper left point.
Left: Integer Y-coordinate of the upper left point.
Bottom: Integer X-coordinate of the bottom right point.
Right: Integer Y-coordinate of the bottom right point.


Return Value

Is the rectangle in the region.


Description

Check if a rectangle is in the region. The rectangle needs to be completely in the region.


About

Donator

Wim De Cleen


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