Difference between revisions of "Xojo.Core.Point.Constructor(X As Double, Y As Double)"

From Xojo Documentation

 
Line 11: Line 11:
 
Create a point for 100, 50:
 
Create a point for 100, 50:
 
<rbcode>
 
<rbcode>
Dim p As New Xojo.Core.Point(100, 50)
+
Var p As New Xojo.Core.Point(100, 50)
 
</rbcode>
 
</rbcode>

Latest revision as of 17:36, 11 August 2019

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)