TcxRegion.PtInRegion(Integer,Integer) Method
Identifies if the specified point is within the region.
Declaration
function PtInRegion(X: Integer; Y: Integer): Boolean; overload;
Parameters
Name | Type |
---|---|
X | Integer |
Y | Integer |
Returns
Type |
---|
Boolean |
Remarks
The overloaded PtInRegion functions return True if a target point is within the region; otherwise, False. The first variant accepts the point as the Pt parameter while the second variant accepts the target coordinates as the X and Y parameters.
See Also