Belong method

Applies to

TPlotLabel

Declaration

function Belong(iX, iY: integer): Boolean; public

Description

Use this member in the mouse event handlers to determine whether mouse coordinates belong to the label area.

======= 28.8.8 ======== Note: algorithm for arrow line was completely redesigned in build s #325 and later. Previous versions used floating points because for lines close to vertical rounding results in disability to select the label. Now we check distance between point and line instead of only vertical displacement, which worked properly for floats but completely inoperable for integers.