Xojo.Core.Point.Compare
From Xojo Documentation
Method
Xojo.Core.Point.Operator_Compare(rhs As Xojo.Core.Point) As Integer
Supported for all project types and targets.
Supported for all project types and targets.
You can use comparison operators to determine if one point is greater than another. A point is compared using its X value first and then the Y value if both X values are the same.
Sample Code
Compare two points: