[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

InvalidPoint

Check whether a point is invalid.

Declaration

Source position: line 0

function InvalidPoint(

  X: Integer;

  Y: Integer

):Boolean;

function InvalidPoint(

  const At: TPoint

):Boolean;

function InvalidPoint(

  const At: TSmallPoint

):Boolean;

Description

InvalidPointreturns Trueif the Xand Ycoordinates (of the TPointor TSmallPointrecords, if one of these versions is used) are -1.

See also

TPoint

  

Special type to handle a fake TComponentposition

TSmallPoint

  

Type to describe point in a small plane.

PointsEqual

  

Check whether two TPointvariables are equal.