System.Classes.PointsEqual

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function PointsEqual(const P1, P2: TPoint): Boolean;
function PointsEqual(const P1, P2: TSmallPoint): Boolean;

C++

extern DELPHI_PACKAGE bool __fastcall PointsEqual(const System::Types::TPoint &P1, const System::Types::TPoint &P2)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

Indicates whether two points have the same coordinates.

Call PointsEqual to compare two points. PointsEqual returns true if P1 has the same coordinates as P2, false if the two points differ.