Xojo.Core.Point.Zero

From Xojo Documentation

Shared Method

Returns a Point with an (x, y) of (0, 0). This is a convenience for creating a new Point with those coordinates and allows the implementation to have a singleton value (as Point objects are immutable).

Sample Code

Calculate the distance from (0, 0):

Dim origPoint As New Xojo.Core.Point(123, 456)
Dim distance As Double = Xojo.Core.Point.Zero.DistanceTo(origPoint)