[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'DrawnControl' (#HMI)

TElement.GetVectorLength

calculates the absolute value (length) of the given vector

Declaration

Source position: drawncontrol.pas line 37

protected class function TElement.GetVectorLength(

  V: TPoint

):Integer;

Description

The length is measured in screen units. It is expected, that the horizontal and the vertical resolution are equal.