TdxTileControlHitTest.Calculate(Integer,Integer) Method
Calculates HitTest information for a specified tile control point.
Declaration
procedure Calculate(const X: Integer; const Y: Integer);
Parameters
Name | Type |
---|---|
X | Integer |
Y | Integer |
Remarks
This method assigns HitPoint, HitX, and HitY properties with point coordinates passed as method parameters, and then calculates the HitTest information for this point. Calculating the HitTest information automatically updates other TdxTileControlHitTest
class properties with relevant values based on the inspected point.
See Also