Xojo.Core.Point.Constructor(X As Double, Y As Double)

From Xojo Documentation

Revision as of 17:36, 11 August 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Constructor

Xojo.Core.Point.Constructor(X As Double, Y As Double)

Initializes the Point with an (x, y) of the parameters passed in.

Sample Code

Create a point for 100, 50:

Var p As New Xojo.Core.Point(100, 50)