TRectangleTool.ClickedEdge

TRectangleTool.ClickedEdge
TRectangleTool

function ClickedEdge(X, Y: Integer): Integer;

Unit
TeeTools

Description
Returns an integer that represents the rectangle edge that is under the xy parameter position, with a tolerance of 4 pixels.

The Left edge returns 0, the Top edge 1, Right edge 2 and Bottom edge 3.